44
activePDF Toolkit Professional Edition
aptkl4a 30405
Copyright 2005, activePDF, Inc. All Rights Reserved.
Page 317 of 553
Flags
Description
Sets and retrieves the bitwise flags set for the specified field.
Return type
Long
Description
The flags set for the specified field.
Syntax
value = object.
Flags
= value
The Flags property has these required parts:
Part
Value Type
Description
Object
An expression of the PDFFieldInfo subobject.
Value
Long
A series of flags that can be combined via "or" statements:
-4096 = All bits will be cleared (set to 0). You can 'OR' 4096 with
other bits to achieve the desired effect. (This affects the line on
which it is called.)
-998 = Flatten field and reset font, color and rotation information to
field defaults. (You must use -998 on the line prior to the line you
wish to reset.)
-997 = Flatten field and do not reset font, color and rotation
information.
-996 = Flatten field using an image file as named in field data. The
image type is auto-determined.
-995 = Flatten field as a known JPEG using an image file as named
in field data.
-994 = Flatten field as a known TIFF using an image file as named
in field data.
0=Read Only.
1="As is". All attributes of the field remain unchanged.
2=Hidden.
4=Enable Printing.
8=Disable Zoom.
16 = Disable Rotation.