ComPDF React Native - v3.0.0
    Preparing search index...

    Interface CPDFWatermarkConfig

    Global watermark configuration.

    interface CPDFWatermarkConfig {
        types?: ("text" | "image")[];
        saveAsNewFile?: boolean;
        outsideBackgroundColor?: string | null;
        text?: string;
        image?: string;
        textSize?: FontSize;
        textColor?: `#${string}`;
        scale?: number;
        rotation?: number;
        opacity?: ColorAlpha;
        isFront?: boolean;
        isTilePage?: boolean;
    }
    Index

    Properties

    types?: ("text" | "image")[] = ...
    saveAsNewFile?: boolean = false
    outsideBackgroundColor?: string | null = null
    text?: string = 'Watermark'
    image?: string = ''
    textSize?: FontSize = 40
    textColor?: `#${string}` = '#000000'
    scale?: number = 1.0
    rotation?: number = -45
    opacity?: ColorAlpha = 255
    isFront?: boolean = false
    isTilePage?: boolean = false