WatermarkTimestamp
Used to configure timestamp watermark.
export class WatermarkTimestamp {
fontSize?: number;
fontFilePath?: string;
strokeWidth?: number;
format?: string;
}
- Since
- Available since v4.6.2.
Note: (Linux only)
Properties
- fontSize
- Font size of the timestamp. Default is 10.
- fontFilePath
- Path to the timestamp font file. Default is
NULL. The font file must be in .ttf format. If not set, the SDK uses the system default font (if available).Note: If used asynchronously, copy the path to memory that will not be released. - strokeWidth
- Stroke width of the timestamp. Default is 1.
- format
- Format of the timestamp. Default is
%F %X. The format follows the C standard library functionstrftime. Seestrftime.Note: If used asynchronously, copy the format string to memory that will not be released.