Field

Overview

Field is a class in Aspose.PDF FOSS for C++.

Field.Recalculate() recomputes the value of a form field and returns true on success.

This class declares 26 methods for Field objects in C++ programs. Available methods include: AlternateName, AnnotationIndex, Count, FitIntoRectangle, Flatten, IsGroup, IsSharedField, MappingName, MaxFontSize, MinFontSize, PageIndex, PartialName, and 4 additional methods. Public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.

Methods

SignatureDescription
Recalculate() → boolReturns a boolean indicating whether the field’s appearance was successfully regenerated after a value change
Flatten()Removes the interactive nature of a form field while preserving its visual appearance on the page
SetPosition(point: Aspose::Pdf::Point)Sets the position value.
PartialName() → std::stringCalls PartialName on this Field instance.
PartialName(value: std::string)Calls PartialName(value) on this Field instance.
AlternateName() → std::stringCalls AlternateName on this Field instance.
AlternateName(value: std::string)Calls AlternateName(value) on this Field instance.
MappingName() → std::stringCalls MappingName on this Field instance.
MappingName(value: std::string)Calls MappingName(value) on this Field instance.
Value() → std::stringCalls Value on this Field instance.
Value(value: std::string)Calls Value(value) on this Field instance.
Count() → intCalls Count on this Field instance.
IsGroup() → boolReturns true if group is set.
AnnotationIndex() → intCalls AnnotationIndex on this Field instance.
AnnotationIndex(value: int)Calls AnnotationIndex(value) on this Field instance.
PageIndex() → intCalls PageIndex on this Field instance.
IsSharedField() → boolReturns true if shared field is set.
IsSharedField(value: bool)Calls IsSharedField(value) on this Field instance.
FitIntoRectangle() → boolCalls FitIntoRectangle on this Field instance.
FitIntoRectangle(value: bool)Calls FitIntoRectangle(value) on this Field instance.
MaxFontSize() → doubleCalls MaxFontSize on this Field instance.
MaxFontSize(value: double)Calls MaxFontSize(value) on this Field instance.
MinFontSize() → doubleCalls MinFontSize on this Field instance.
MinFontSize(value: double)Calls MinFontSize(value) on this Field instance.
TabOrder() → intCalls TabOrder on this Field instance.
TabOrder(value: int)Calls TabOrder(value) on this Field instance.

See Also

 English