Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / ImageOptions Class / AlphaThreshold Property

In This Topic
    AlphaThreshold Property
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Property AlphaThreshold As System.Byte
    public System.byte AlphaThreshold {get; set;}
    See Also