DsPdfJS API - v9.1.0
    Preparing search index...

    Type Alias GrayscaleBitmapProperties

    Provides settings for creating a new instance of GrayscaleBitmap.

    type GrayscaleBitmapProperties = {
        initialValue?: number;
        transparencyMask?: boolean;
        whiteIsZero?: boolean;
    }
    Index

    Properties

    initialValue?: number

    The optional value to initialize pixels of a GrayscaleBitmap (between 0 and 255).

    transparencyMask?: boolean

    Indicates whether the image is used to define an alpha mask of another image.

    whiteIsZero?: boolean

    If true, specifies that 0 is imaged as white and 255 is imaged as black.