Skip to content

Bookmark::Fit property

The Fit property returns the zoom/fit level that should be applied when navigating to the destination.

int Fit { get; set; }
int getFit() throws IGRException;
void setFit(int value) throws IGRException;
@property
def Fit(self) -> int:
@property.setter
def Fit(self, value: int)
int getFit() const;
void setFit(int value);

Return Value

int : Integer value containing the Fit enumerated value, one of:

Name Value
IGR_BOOKMARK_FIT_NONE 0x0
IGR_BOOKMARK_FIT_BOTH 0x1
IGR_BOOKMARK_FIT_WIDTH 0x2
IGR_BOOKMARK_FIT_HEIGHT 0x3
IGR_BOOKMARK_FIT_RECT 0x4

See Also