DetectGrayscaleImageResources Свойство (PdfDocumentCompressorCommand)
Возвращает или задает значение, указывающее, должна ли команда анализировать ресурсы изображения, обнаруживать изображения в оттенках серого и преобразовывать их в формат пикселей в оттенках серого.
[DefaultValue(False)]
[Category("Image color depth optimization")]
[Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
public bool DetectGrayscaleImageResources { get; set; }
[DefaultValue(False)]
[Category("Image color depth optimization")]
[Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
public: __property bool get_DetectGrayscaleImageResources();
public: __property void set_DetectGrayscaleImageResources(
bool
);
[DefaultValue(False)]
[Category("Image color depth optimization")]
[Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
public:
property bool DetectGrayscaleImageResources {
bool get();
void set(bool );
}
Property Value
True - команда должна проанализировать ресурсы изображения, обнаружить изображения в оттенках серого и преобразовать их в формат пикселей в оттенках серого; false - команда НЕ должна обнаруживать ресурсы изображений в оттенках серого. Значение по умолчанию false.
Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5