PrinterMarksKindExtensions

Inheritance: java.lang.Object, com.aspose.pdf.PrinterMarksKindExtensions

public class PrinterMarksKindExtensions extends Object

Provides extension methods for the {@link PrinterMarksKind} enumeration.

Constructors

ConstructorDescription
PrinterMarksKindExtensions

Methods

MethodDescription
hasFlagFastDetermines whether the current value includes a specified flag.

PrinterMarksKindExtensions

public PrinterMarksKindExtensions()

hasFlagFast

public static boolean hasFlagFast(int value, int flag)

Determines whether the current value includes a specified flag.

Parameters:

ParameterTypeDescription
valueThe current value of the {@link PrinterMarksKind} enumeration.
flagThe flag to check.

Returns: {@code } if the flag is included in the current value; otherwise, {@code }.