[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.ImageOptions.AlphaThreshold

AlphaThreshold Property

AlphaThreshold

Gets or sets the alpha threshold value. If all pixels of an image with the alpha channel have alpha values greater than or equal to this value, the alpha channel will not be saved, thus making the image and the whole PDF smaller. The default is 0xFF (i.e. all transparency is preserved). This property is ignored if SaveAllImagesAsJpeg is true.

Declaration
public byte AlphaThreshold { get; set; }
Public Property AlphaThreshold As Byte