Enum for attached state of the objects More...

Inherits System::Object.

Inherited by Aspose::Pdf::Text::TextFragmentState.

Public Member Functions

virtual float get_CharacterSpacing ()
 Gets character spacing of the text. More...
 
virtual void set_CharacterSpacing (float value)
 Sets character spacing of the text. More...
 
virtual float get_LineSpacing ()
 Gets line spacing of the text. More...
 
virtual void set_LineSpacing (float value)
 Sets line spacing of the text. More...
 
virtual float get_HorizontalScaling ()
 Gets horizontal scaling of the text. More...
 
virtual void set_HorizontalScaling (float value)
 Sets horizontal scaling of the text. More...
 
virtual bool get_Subscript ()
 Gets subscript of the text. More...
 
virtual void set_Subscript (bool value)
 Sets subscript of the text. More...
 
virtual bool get_Superscript ()
 Gets superscript of the text. More...
 
virtual void set_Superscript (bool value)
 Sets superscript of the text. More...
 
virtual float get_WordSpacing ()
 Gets word spacing of the text. More...
 
virtual void set_WordSpacing (float value)
 Sets word spacing of the text. More...
 
virtual bool get_Invisible ()
 Gets invisibility of the text. Obsolete. Please use RenderingMode instead. More...
 
virtual void set_Invisible (bool value)
 Sets invisibility of the text. Obsolete. Please use RenderingMode instead. More...
 
virtual TextRenderingMode get_RenderingMode ()
 Gets rendering mode of text. More...
 
virtual void set_RenderingMode (TextRenderingMode value)
 Sets rendering mode of text. More...
 
virtual float get_FontSize ()
 Gets font size of the text. More...
 
virtual void set_FontSize (float value)
 Sets font size of the text. More...
 
virtual System::SharedPtr< Aspose::Pdf::Text::Fontget_Font ()
 Gets font of the text. More...
 
virtual void set_Font (System::SharedPtr< Aspose::Pdf::Text::Font > value)
 Sets font of the text. More...
 
virtual System::SharedPtr< Colorget_ForegroundColor ()
 Gets foreground color of the text. More...
 
virtual void set_ForegroundColor (System::SharedPtr< Color > value)
 Sets foreground color of the text. More...
 
virtual System::SharedPtr< Colorget_StrokingColor ()
 Gets foreground color of the text. More...
 
virtual void set_StrokingColor (System::SharedPtr< Color > value)
 Sets foreground color of the text. More...
 
virtual bool get_Underline ()
 Gets underline for the text, represented by the TextFragment object More...
 
virtual void set_Underline (bool value)
 Sets underline for the text, represented by the TextFragment object More...
 
virtual bool get_StrikeOut ()
 Sets strikeout for the text, represented by the TextFragment object More...
 
virtual void set_StrikeOut (bool value)
 Sets strikeout for the text, represented by the TextFragment object More...
 
virtual System::SharedPtr< Colorget_BackgroundColor ()
 Sets background color of the text. More...
 
virtual void set_BackgroundColor (System::SharedPtr< Color > value)
 Sets background color of the text. More...
 
virtual FontStyles get_FontStyle ()
 Sets font style of the text. More...
 
virtual void set_FontStyle (FontStyles value)
 Sets font style of the text. More...
 
virtual Aspose::Pdf::HorizontalAlignment get_HorizontalAlignment ()
 Gets horizontal alignment for the text. More...
 
virtual void set_HorizontalAlignment (Aspose::Pdf::HorizontalAlignment value)
 Sets horizontal alignment for the text. More...
 
virtual void ApplyChangesFrom (System::SharedPtr< TextState > textState)
 Applies settings from another textState. More...
 
 TextState ()
 Creates text state object. More...
 
virtual double MeasureString (System::String str)
 Measures the string. More...
 
 TextState (double fontSize)
 Creates text state object with font size specification. More...
 
 TextState (System::Drawing::Color foregroundColor)
 Creates text state object with foreground color specification. More...
 
 TextState (System::Drawing::Color foregroundColor, double fontSize)
 Creates text state object with foreground color and font size specification. More...
 
 TextState (System::String fontFamily)
 Creates text state object with font family specification. More...
 
 TextState (System::String fontFamily, bool bold, bool italic)
 Creates text state object with font family and font style specification. More...
 
 TextState (System::String fontFamily, double fontSize)
 Creates text state object with font family and font size specification. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Public Attributes

System::String TabTag
 
float TabstopDefaultValue
 

Protected Types

enum  AttachState { AttachState::Detached, AttachState::Attached, AttachState::Attaching }
 

Protected Member Functions

bool get_underline ()
 underline More...
 
void set_underline (bool value)
 underline More...
 
bool get_strikeout ()
 strikeout More...
 
void set_strikeout (bool value)
 strikeout More...
 
bool get_superscript ()
 superscript More...
 
void set_superscript (bool value)
 superscript More...
 
bool get_subscript ()
 subscript More...
 
void set_subscript (bool value)
 subscript More...
 
System::SharedPtr< Colorget_backgroundColor ()
 background color More...
 
void set_backgroundColor (System::SharedPtr< Color > value)
 background color More...
 
float get_characterSpacing ()
 character spacing More...
 
void set_characterSpacing (float value)
 character spacing More...
 
float get_lineSpacing ()
 character spacing More...
 
void set_lineSpacing (float value)
 character spacing More...
 
System::SharedPtr< Aspose::Pdf::Text::Fontget_font ()
 font More...
 
void set_font (System::SharedPtr< Aspose::Pdf::Text::Font > value)
 font More...
 
System::SharedPtr< Matrixget_textMatrix ()
 text matrix More...
 
void set_textMatrix (System::SharedPtr< Matrix > value)
 text matrix More...
 
float get_wordSpacing ()
 word spacing More...
 
void set_wordSpacing (float value)
 word spacing More...
 
bool get_invisible ()
 text invisibility More...
 
void set_invisible (bool value)
 text invisibility More...
 
TextRenderingMode get_renderingMode ()
 text rendering mode More...
 
void set_renderingMode (TextRenderingMode value)
 text rendering mode More...
 
FontStyles get_fontStyle ()
 font style More...
 
void set_fontStyle (FontStyles value)
 font style More...
 
float get_fontSize ()
 font size More...
 
void set_fontSize (float value)
 font size More...
 
bool get_isTextWithPositions ()
 please don't set this, use IsTextWithPositions More...
 
void set_isTextWithPositions (bool value)
 please don't set this, use IsTextWithPositions More...
 
System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double > > get_adjustments ()
 please don't set this, use Adjustments More...
 
void set_adjustments (System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double >> value)
 please don't set this, use Adjustments More...
 
bool get_IsBackgroundColorSet ()
 
void set_IsBackgroundColorSet (bool value)
 
bool get_IsUnderlineSet ()
 
void set_IsUnderlineSet (bool value)
 
bool get_IsStrikeOutSet ()
 
void set_IsStrikeOutSet (bool value)
 
bool get_IsCharacterSpacingSet ()
 
void set_IsCharacterSpacingSet (bool value)
 
bool get_IsLineSpacingSet ()
 
void set_IsLineSpacingSet (bool value)
 
bool get_IsFontSet ()
 
void set_IsFontSet (bool value)
 
bool get_IsForegroundColorSet ()
 
void set_IsForegroundColorSet (bool value)
 
bool get_IsStrokingColorSet ()
 
void set_IsStrokingColorSet (bool value)
 
bool get_IsHorizontalScalingSet ()
 
void set_IsHorizontalScalingSet (bool value)
 
bool get_IsTextMatrixSet ()
 
void set_IsTextMatrixSet (bool value)
 
bool get_IsWordSpacingSet ()
 
void set_IsWordSpacingSet (bool value)
 
bool get_IsFontStyleSet ()
 
void set_IsFontStyleSet (bool value)
 
bool get_IsFontSizeSet ()
 
void set_IsFontSizeSet (bool value)
 
bool get_IsHorizontalAlignmentSet ()
 
void set_IsHorizontalAlignmentSet (bool value)
 
bool get_IsVerticalAlignmentSet ()
 
void set_IsVerticalAlignmentSet (bool value)
 
bool get_IsSubSuperscriptSet ()
 
void set_IsSubSuperscriptSet (bool value)
 
bool get_IsRenderingModeSet ()
 
void set_IsRenderingModeSet (bool value)
 
bool get_IsInvisibilitySet ()
 
void set_IsInvisibilitySet (bool value)
 
TextState::AttachState get_AttachedState ()
 the state is attached to real physical text segment More...
 
void set_AttachedState (TextState::AttachState value)
 the state is attached to real physical text segment More...
 
virtual System::SharedPtr< Matrixget_TextMatrix ()
 
virtual void set_TextMatrix (System::SharedPtr< Matrix > value)
 
virtual bool get_IsTextWithPositions ()
 indicates whether TextWithPositions (TJ) operator must be used More...
 
virtual void set_IsTextWithPositions (bool value)
 indicates whether TextWithPositions (TJ) operator must be used More...
 
virtual System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double > > get_Adjustments ()
 contains adjustments for TextWithPositions (TJ) operator More...
 
virtual void set_Adjustments (System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double >> value)
 contains adjustments for TextWithPositions (TJ) operator More...
 
virtual float get_TextHeight ()
 Gets text height. More...
 
virtual Aspose::Pdf::VerticalAlignment get_VerticalAlignment ()
 Gets vertical alignment for the text inside paragrph's Rectangle. More...
 
virtual void set_VerticalAlignment (Aspose::Pdf::VerticalAlignment value)
 Sets vertical alignment for the text inside paragrph's Rectangle. More...
 
System::SharedPtr< Colorget_foregroundColor ()
 foreground color More...
 
void set_foregroundColor (System::SharedPtr< Color > value)
 foreground color More...
 
System::SharedPtr< Colorget_strokingColor ()
 stroking color More...
 
void set_strokingColor (System::SharedPtr< Color > value)
 stroking color More...
 
float get_horizontalScaling ()
 horizontal spacing (100 is by default) More...
 
void set_horizontalScaling (float value)
 horizontal spacing (100 is by default) More...
 
virtual Aspose::Pdf::Engine::CommonData::Text::Segmenting::CoordinateOrigin get_coordinateOrigin ()
 AB: At the moment, it is only effective if set earlier than physical segment will be attached More...
 
virtual void set_coordinateOrigin (Aspose::Pdf::Engine::CommonData::Text::Segmenting::CoordinateOrigin value)
 AB: At the moment, it is only effective if set earlier than physical segment will be attached More...
 
double get_TabstopShift ()
 Tabstop shift of position of text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure. More...
 
void set_TabstopShift (double value)
 Tabstop shift of position of text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure. More...
 
double get_TabLeaderLength ()
 Length of tab leader before text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure. More...
 
void set_TabLeaderLength (double value)
 Length of tab leader before text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure. More...
 
Aspose::Pdf::Text::TabLeaderType get_TabLeaderType ()
 Type of tab leader before text segment. More...
 
void set_TabLeaderType (Aspose::Pdf::Text::TabLeaderType value)
 Type of tab leader before text segment. More...
 
int32_t get_SetFlags ()
 
void set_SetFlags (int32_t value)
 
bool get_IsDefault ()
 
void Attach (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Text::Segmenting::PhysicalTextSegment > physicalSegment)
 
void Detach ()
 
System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor > ToEngineColorWithArea (System::SharedPtr< Color > color, System::SharedPtr< Rectangle > rect)
 
 TextState (System::SharedPtr< Color > backgroundColor, System::SharedPtr< Color > foregroundColor, FontStyles fontStyle, System::SharedPtr< Aspose::Pdf::Text::Font > font, float fontSize)
 
 TextState (System::Drawing::Color backgroundColor, System::Drawing::Color foregroundColor, FontStyles fontStyle, System::SharedPtr< Aspose::Pdf::Text::Font > font, float fontSize)
 
void SetColorWithArea (System::SharedPtr< Color > color, System::SharedPtr< Rectangle > rect)
 
void SetStrokingColorWithArea (System::SharedPtr< Color > color, System::SharedPtr< Rectangle > rect)
 
void UpdateUnderlineFromSource ()
 Searches for operators that used for orginizing text underline for current text block. If found it will be replaced for operators generated by our code. More...
 
 TextState (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Text::Segmenting::PhysicalTextState > physicalState)
 
virtual double CalculateFontSize (System::String str, System::SharedPtr< Rectangle > rect)
 Calculates the font size for the rectangle. More...
 
 TextState (System::SharedPtr< TextSegment > textSegment)
 Copying constructor Copies properties from PhysicalTextState More...
 
void Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer, System::String tagName)
 
void Deserialize (System::SharedPtr< System::Xml::XmlReader > reader)
 

Static Protected Member Functions

static System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor > ToEngineColorCommon (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor > originalColor, System::SharedPtr< Color > color)
 
static System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor > ToEngineColor (System::SharedPtr< Color > color)
 
static System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::RGBColor > ColorToEngineRGB (System::SharedPtr< Color > color)
 
static System::SharedPtr< ColorEngineRGBToColor (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::RGBColor > color)
 
static System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::GrayColor > ColorToEngineGray (System::SharedPtr< Color > color)
 
static System::SharedPtr< ColorGrayToColor (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::GrayColor > color)
 
static System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::CMYKColor > ColorToEngineCMYK (System::SharedPtr< Color > color)
 
static System::SharedPtr< ColorCMYKToColor (System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::CMYKColor > color)
 

Protected Attributes

System::EventHandler OnFontChanged
 
System::EventHandler OnFontSizeChanged
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Enum for attached state of the objects

Member Enumeration Documentation

◆ AttachState

Enumerator
Detached 
Attached 
Attaching 

Constructor & Destructor Documentation

◆ TextState() [1/11]

Aspose::Pdf::Text::TextState::TextState ( )

Creates text state object.

◆ TextState() [2/11]

Aspose::Pdf::Text::TextState::TextState ( double  fontSize)

Creates text state object with font size specification.

Parameters
fontSizeFont size.

◆ TextState() [3/11]

Aspose::Pdf::Text::TextState::TextState ( System::Drawing::Color  foregroundColor)

Creates text state object with foreground color specification.

Parameters
foregroundColorForeground color.

◆ TextState() [4/11]

Aspose::Pdf::Text::TextState::TextState ( System::Drawing::Color  foregroundColor,
double  fontSize 
)

Creates text state object with foreground color and font size specification.

Parameters
foregroundColorForeground color.
fontSizeFont size.

◆ TextState() [5/11]

Aspose::Pdf::Text::TextState::TextState ( System::String  fontFamily)

Creates text state object with font family specification.

Parameters
fontFamilyFont family.

◆ TextState() [6/11]

Aspose::Pdf::Text::TextState::TextState ( System::String  fontFamily,
bool  bold,
bool  italic 
)

Creates text state object with font family and font style specification.

Parameters
fontFamilyFont family.
boldBold font style.
italicItalic font style.

◆ TextState() [7/11]

Aspose::Pdf::Text::TextState::TextState ( System::String  fontFamily,
double  fontSize 
)

Creates text state object with font family and font size specification.

Parameters
fontFamilyFont family.
fontSizeFont size.

◆ TextState() [8/11]

Aspose::Pdf::Text::TextState::TextState ( System::SharedPtr< Color backgroundColor,
System::SharedPtr< Color foregroundColor,
FontStyles  fontStyle,
System::SharedPtr< Aspose::Pdf::Text::Font font,
float  fontSize 
)
protected

◆ TextState() [9/11]

Aspose::Pdf::Text::TextState::TextState ( System::Drawing::Color  backgroundColor,
System::Drawing::Color  foregroundColor,
FontStyles  fontStyle,
System::SharedPtr< Aspose::Pdf::Text::Font font,
float  fontSize 
)
protected

◆ TextState() [10/11]

Aspose::Pdf::Text::TextState::TextState ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Text::Segmenting::PhysicalTextState >  physicalState)
protected

◆ TextState() [11/11]

Aspose::Pdf::Text::TextState::TextState ( System::SharedPtr< TextSegment textSegment)
protected

Copying constructor Copies properties from PhysicalTextState

Member Function Documentation

◆ ApplyChangesFrom()

virtual void Aspose::Pdf::Text::TextState::ApplyChangesFrom ( System::SharedPtr< TextState textState)
virtual

Applies settings from another textState.

Only those properties will be copied that were changed explicitly.

Parameters
textStateText state object.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ Attach()

void Aspose::Pdf::Text::TextState::Attach ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Text::Segmenting::PhysicalTextSegment >  physicalSegment)
protected

◆ CalculateFontSize()

virtual double Aspose::Pdf::Text::TextState::CalculateFontSize ( System::String  str,
System::SharedPtr< Rectangle rect 
)
protectedvirtual

Calculates the font size for the rectangle.

◆ CMYKToColor()

static System::SharedPtr<Color> Aspose::Pdf::Text::TextState::CMYKToColor ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::CMYKColor >  color)
staticprotected

◆ ColorToEngineCMYK()

static System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::CMYKColor> Aspose::Pdf::Text::TextState::ColorToEngineCMYK ( System::SharedPtr< Color color)
staticprotected

◆ ColorToEngineGray()

static System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::GrayColor> Aspose::Pdf::Text::TextState::ColorToEngineGray ( System::SharedPtr< Color color)
staticprotected

◆ ColorToEngineRGB()

static System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::RGBColor> Aspose::Pdf::Text::TextState::ColorToEngineRGB ( System::SharedPtr< Color color)
staticprotected

◆ Deserialize()

void Aspose::Pdf::Text::TextState::Deserialize ( System::SharedPtr< System::Xml::XmlReader reader)
protected

◆ Detach()

void Aspose::Pdf::Text::TextState::Detach ( )
protected

◆ EngineRGBToColor()

static System::SharedPtr<Color> Aspose::Pdf::Text::TextState::EngineRGBToColor ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::RGBColor >  color)
staticprotected

◆ get_adjustments()

System::SharedPtr<System::Collections::Generic::Dictionary<int32_t, double> > Aspose::Pdf::Text::TextState::get_adjustments ( )
protected

please don't set this, use Adjustments

◆ get_Adjustments()

virtual System::SharedPtr<System::Collections::Generic::Dictionary<int32_t, double> > Aspose::Pdf::Text::TextState::get_Adjustments ( )
protectedvirtual

contains adjustments for TextWithPositions (TJ) operator

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_AttachedState()

TextState::AttachState Aspose::Pdf::Text::TextState::get_AttachedState ( )
protected

the state is attached to real physical text segment

◆ get_BackgroundColor()

virtual System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_BackgroundColor ( )
virtual

Sets background color of the text.

Note that the value is not preserved as a text characteristic within the document. The BackgroundColor property getter works for an object in case it was explicitly set previously with BackgroundColor setter for those object.

The property is used by runtime in context of current generation/modification process.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_backgroundColor()

System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_backgroundColor ( )
protected

background color

◆ get_CharacterSpacing()

virtual float Aspose::Pdf::Text::TextState::get_CharacterSpacing ( )
virtual

Gets character spacing of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_characterSpacing()

float Aspose::Pdf::Text::TextState::get_characterSpacing ( )
protected

character spacing

◆ get_coordinateOrigin()

virtual Aspose::Pdf::Engine::CommonData::Text::Segmenting::CoordinateOrigin Aspose::Pdf::Text::TextState::get_coordinateOrigin ( )
protectedvirtual

AB: At the moment, it is only effective if set earlier than physical segment will be attached

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_Font()

virtual System::SharedPtr<Aspose::Pdf::Text::Font> Aspose::Pdf::Text::TextState::get_Font ( )
virtual

Gets font of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_font()

System::SharedPtr<Aspose::Pdf::Text::Font> Aspose::Pdf::Text::TextState::get_font ( )
protected

font

◆ get_FontSize()

virtual float Aspose::Pdf::Text::TextState::get_FontSize ( )
virtual

Gets font size of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_fontSize()

float Aspose::Pdf::Text::TextState::get_fontSize ( )
protected

font size

◆ get_FontStyle()

virtual FontStyles Aspose::Pdf::Text::TextState::get_FontStyle ( )
virtual

Sets font style of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_fontStyle()

FontStyles Aspose::Pdf::Text::TextState::get_fontStyle ( )
protected

font style

◆ get_ForegroundColor()

virtual System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_ForegroundColor ( )
virtual

Gets foreground color of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_foregroundColor()

System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_foregroundColor ( )
protected

foreground color

◆ get_HorizontalAlignment()

virtual Aspose::Pdf::HorizontalAlignment Aspose::Pdf::Text::TextState::get_HorizontalAlignment ( )
virtual

Gets horizontal alignment for the text.

HorizontalAlignment.None is equal to HorizontalAlignment.Left.

Note that TextState.HorizontalAlignment property works in new document generation scenarios only.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_HorizontalScaling()

virtual float Aspose::Pdf::Text::TextState::get_HorizontalScaling ( )
virtual

Gets horizontal scaling of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_horizontalScaling()

float Aspose::Pdf::Text::TextState::get_horizontalScaling ( )
protected

horizontal spacing (100 is by default)

◆ get_Invisible()

virtual bool Aspose::Pdf::Text::TextState::get_Invisible ( )
virtual

Gets invisibility of the text. Obsolete. Please use RenderingMode instead.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_invisible()

bool Aspose::Pdf::Text::TextState::get_invisible ( )
protected

text invisibility

◆ get_IsBackgroundColorSet()

bool Aspose::Pdf::Text::TextState::get_IsBackgroundColorSet ( )
protected

◆ get_IsCharacterSpacingSet()

bool Aspose::Pdf::Text::TextState::get_IsCharacterSpacingSet ( )
protected

◆ get_IsDefault()

bool Aspose::Pdf::Text::TextState::get_IsDefault ( )
protected

◆ get_IsFontSet()

bool Aspose::Pdf::Text::TextState::get_IsFontSet ( )
protected

◆ get_IsFontSizeSet()

bool Aspose::Pdf::Text::TextState::get_IsFontSizeSet ( )
protected

◆ get_IsFontStyleSet()

bool Aspose::Pdf::Text::TextState::get_IsFontStyleSet ( )
protected

◆ get_IsForegroundColorSet()

bool Aspose::Pdf::Text::TextState::get_IsForegroundColorSet ( )
protected

◆ get_IsHorizontalAlignmentSet()

bool Aspose::Pdf::Text::TextState::get_IsHorizontalAlignmentSet ( )
protected

◆ get_IsHorizontalScalingSet()

bool Aspose::Pdf::Text::TextState::get_IsHorizontalScalingSet ( )
protected

◆ get_IsInvisibilitySet()

bool Aspose::Pdf::Text::TextState::get_IsInvisibilitySet ( )
protected

◆ get_IsLineSpacingSet()

bool Aspose::Pdf::Text::TextState::get_IsLineSpacingSet ( )
protected

◆ get_IsRenderingModeSet()

bool Aspose::Pdf::Text::TextState::get_IsRenderingModeSet ( )
protected

◆ get_IsStrikeOutSet()

bool Aspose::Pdf::Text::TextState::get_IsStrikeOutSet ( )
protected

◆ get_IsStrokingColorSet()

bool Aspose::Pdf::Text::TextState::get_IsStrokingColorSet ( )
protected

◆ get_IsSubSuperscriptSet()

bool Aspose::Pdf::Text::TextState::get_IsSubSuperscriptSet ( )
protected

◆ get_IsTextMatrixSet()

bool Aspose::Pdf::Text::TextState::get_IsTextMatrixSet ( )
protected

◆ get_isTextWithPositions()

bool Aspose::Pdf::Text::TextState::get_isTextWithPositions ( )
protected

please don't set this, use IsTextWithPositions

◆ get_IsTextWithPositions()

virtual bool Aspose::Pdf::Text::TextState::get_IsTextWithPositions ( )
protectedvirtual

indicates whether TextWithPositions (TJ) operator must be used

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_IsUnderlineSet()

bool Aspose::Pdf::Text::TextState::get_IsUnderlineSet ( )
protected

◆ get_IsVerticalAlignmentSet()

bool Aspose::Pdf::Text::TextState::get_IsVerticalAlignmentSet ( )
protected

◆ get_IsWordSpacingSet()

bool Aspose::Pdf::Text::TextState::get_IsWordSpacingSet ( )
protected

◆ get_LineSpacing()

virtual float Aspose::Pdf::Text::TextState::get_LineSpacing ( )
virtual

Gets line spacing of the text.

Note that the value is not preserved as a text characteristic within the document. The LineSpacing property getter works for an object in case it was explicitly set previously with LineSpacing setter for those object.

The property is used by runtime in context of current generation/modification process.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_lineSpacing()

float Aspose::Pdf::Text::TextState::get_lineSpacing ( )
protected

character spacing

◆ get_RenderingMode()

virtual TextRenderingMode Aspose::Pdf::Text::TextState::get_RenderingMode ( )
virtual

Gets rendering mode of text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_renderingMode()

TextRenderingMode Aspose::Pdf::Text::TextState::get_renderingMode ( )
protected

text rendering mode

◆ get_SetFlags()

int32_t Aspose::Pdf::Text::TextState::get_SetFlags ( )
protected

◆ get_StrikeOut()

virtual bool Aspose::Pdf::Text::TextState::get_StrikeOut ( )
virtual

Sets strikeout for the text, represented by the TextFragment object

◆ get_strikeout()

bool Aspose::Pdf::Text::TextState::get_strikeout ( )
protected

strikeout

◆ get_StrokingColor()

virtual System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_StrokingColor ( )
virtual

Gets foreground color of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_strokingColor()

System::SharedPtr<Color> Aspose::Pdf::Text::TextState::get_strokingColor ( )
protected

stroking color

◆ get_Subscript()

virtual bool Aspose::Pdf::Text::TextState::get_Subscript ( )
virtual

Gets subscript of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_subscript()

bool Aspose::Pdf::Text::TextState::get_subscript ( )
protected

subscript

◆ get_Superscript()

virtual bool Aspose::Pdf::Text::TextState::get_Superscript ( )
virtual

Gets superscript of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_superscript()

bool Aspose::Pdf::Text::TextState::get_superscript ( )
protected

superscript

◆ get_TabLeaderLength()

double Aspose::Pdf::Text::TextState::get_TabLeaderLength ( )
protected

Length of tab leader before text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure.

◆ get_TabLeaderType()

Aspose::Pdf::Text::TabLeaderType Aspose::Pdf::Text::TextState::get_TabLeaderType ( )
protected

Type of tab leader before text segment.

◆ get_TabstopShift()

double Aspose::Pdf::Text::TextState::get_TabstopShift ( )
protected

Tabstop shift of position of text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure.

◆ get_TextHeight()

virtual float Aspose::Pdf::Text::TextState::get_TextHeight ( )
protectedvirtual

Gets text height.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_textMatrix()

System::SharedPtr<Matrix> Aspose::Pdf::Text::TextState::get_textMatrix ( )
protected

text matrix

◆ get_TextMatrix()

virtual System::SharedPtr<Matrix> Aspose::Pdf::Text::TextState::get_TextMatrix ( )
protectedvirtual

◆ get_Underline()

virtual bool Aspose::Pdf::Text::TextState::get_Underline ( )
virtual

Gets underline for the text, represented by the TextFragment object

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_underline()

bool Aspose::Pdf::Text::TextState::get_underline ( )
protected

underline

◆ get_VerticalAlignment()

virtual Aspose::Pdf::VerticalAlignment Aspose::Pdf::Text::TextState::get_VerticalAlignment ( )
protectedvirtual

Gets vertical alignment for the text inside paragrph's Rectangle.

VerticalAlignment.None is equal to VerticalAlignment.Bottom.

Note that TextState.VerticalAlignment property works in new document generation scenarios only.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_WordSpacing()

virtual float Aspose::Pdf::Text::TextState::get_WordSpacing ( )
virtual

Gets word spacing of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ get_wordSpacing()

float Aspose::Pdf::Text::TextState::get_wordSpacing ( )
protected

word spacing

◆ GrayToColor()

static System::SharedPtr<Color> Aspose::Pdf::Text::TextState::GrayToColor ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::GrayColor >  color)
staticprotected

◆ MeasureString()

virtual double Aspose::Pdf::Text::TextState::MeasureString ( System::String  str)
virtual

Measures the string.

Parameters
strThe string.
Returns
Width of the string represented with this text state.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ Serialize()

void Aspose::Pdf::Text::TextState::Serialize ( System::SharedPtr< System::Xml::XmlTextWriter writer,
System::String  tagName 
)
protected

◆ set_adjustments()

void Aspose::Pdf::Text::TextState::set_adjustments ( System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double >>  value)
protected

please don't set this, use Adjustments

◆ set_Adjustments()

virtual void Aspose::Pdf::Text::TextState::set_Adjustments ( System::SharedPtr< System::Collections::Generic::Dictionary< int32_t, double >>  value)
protectedvirtual

contains adjustments for TextWithPositions (TJ) operator

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_AttachedState()

void Aspose::Pdf::Text::TextState::set_AttachedState ( TextState::AttachState  value)
protected

the state is attached to real physical text segment

◆ set_BackgroundColor()

virtual void Aspose::Pdf::Text::TextState::set_BackgroundColor ( System::SharedPtr< Color value)
virtual

Sets background color of the text.

Note that the value is not preserved as a text characteristic within the document. The BackgroundColor property getter works for an object in case it was explicitly set previously with BackgroundColor setter for those object.

The property is used by runtime in context of current generation/modification process.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_backgroundColor()

void Aspose::Pdf::Text::TextState::set_backgroundColor ( System::SharedPtr< Color value)
protected

background color

◆ set_CharacterSpacing()

virtual void Aspose::Pdf::Text::TextState::set_CharacterSpacing ( float  value)
virtual

Sets character spacing of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_characterSpacing()

void Aspose::Pdf::Text::TextState::set_characterSpacing ( float  value)
protected

character spacing

◆ set_coordinateOrigin()

virtual void Aspose::Pdf::Text::TextState::set_coordinateOrigin ( Aspose::Pdf::Engine::CommonData::Text::Segmenting::CoordinateOrigin  value)
protectedvirtual

AB: At the moment, it is only effective if set earlier than physical segment will be attached

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_Font()

virtual void Aspose::Pdf::Text::TextState::set_Font ( System::SharedPtr< Aspose::Pdf::Text::Font value)
virtual

Sets font of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_font()

void Aspose::Pdf::Text::TextState::set_font ( System::SharedPtr< Aspose::Pdf::Text::Font value)
protected

font

◆ set_FontSize()

virtual void Aspose::Pdf::Text::TextState::set_FontSize ( float  value)
virtual

Sets font size of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_fontSize()

void Aspose::Pdf::Text::TextState::set_fontSize ( float  value)
protected

font size

◆ set_FontStyle()

virtual void Aspose::Pdf::Text::TextState::set_FontStyle ( FontStyles  value)
virtual

Sets font style of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_fontStyle()

void Aspose::Pdf::Text::TextState::set_fontStyle ( FontStyles  value)
protected

font style

◆ set_ForegroundColor()

virtual void Aspose::Pdf::Text::TextState::set_ForegroundColor ( System::SharedPtr< Color value)
virtual

Sets foreground color of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_foregroundColor()

void Aspose::Pdf::Text::TextState::set_foregroundColor ( System::SharedPtr< Color value)
protected

foreground color

◆ set_HorizontalAlignment()

virtual void Aspose::Pdf::Text::TextState::set_HorizontalAlignment ( Aspose::Pdf::HorizontalAlignment  value)
virtual

Sets horizontal alignment for the text.

HorizontalAlignment.None is equal to HorizontalAlignment.Left.

Note that TextState.HorizontalAlignment property works in new document generation scenarios only.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_HorizontalScaling()

virtual void Aspose::Pdf::Text::TextState::set_HorizontalScaling ( float  value)
virtual

Sets horizontal scaling of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_horizontalScaling()

void Aspose::Pdf::Text::TextState::set_horizontalScaling ( float  value)
protected

horizontal spacing (100 is by default)

◆ set_Invisible()

virtual void Aspose::Pdf::Text::TextState::set_Invisible ( bool  value)
virtual

Sets invisibility of the text. Obsolete. Please use RenderingMode instead.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_invisible()

void Aspose::Pdf::Text::TextState::set_invisible ( bool  value)
protected

text invisibility

◆ set_IsBackgroundColorSet()

void Aspose::Pdf::Text::TextState::set_IsBackgroundColorSet ( bool  value)
protected

◆ set_IsCharacterSpacingSet()

void Aspose::Pdf::Text::TextState::set_IsCharacterSpacingSet ( bool  value)
protected

◆ set_IsFontSet()

void Aspose::Pdf::Text::TextState::set_IsFontSet ( bool  value)
protected

◆ set_IsFontSizeSet()

void Aspose::Pdf::Text::TextState::set_IsFontSizeSet ( bool  value)
protected

◆ set_IsFontStyleSet()

void Aspose::Pdf::Text::TextState::set_IsFontStyleSet ( bool  value)
protected

◆ set_IsForegroundColorSet()

void Aspose::Pdf::Text::TextState::set_IsForegroundColorSet ( bool  value)
protected

◆ set_IsHorizontalAlignmentSet()

void Aspose::Pdf::Text::TextState::set_IsHorizontalAlignmentSet ( bool  value)
protected

◆ set_IsHorizontalScalingSet()

void Aspose::Pdf::Text::TextState::set_IsHorizontalScalingSet ( bool  value)
protected

◆ set_IsInvisibilitySet()

void Aspose::Pdf::Text::TextState::set_IsInvisibilitySet ( bool  value)
protected

◆ set_IsLineSpacingSet()

void Aspose::Pdf::Text::TextState::set_IsLineSpacingSet ( bool  value)
protected

◆ set_IsRenderingModeSet()

void Aspose::Pdf::Text::TextState::set_IsRenderingModeSet ( bool  value)
protected

◆ set_IsStrikeOutSet()

void Aspose::Pdf::Text::TextState::set_IsStrikeOutSet ( bool  value)
protected

◆ set_IsStrokingColorSet()

void Aspose::Pdf::Text::TextState::set_IsStrokingColorSet ( bool  value)
protected

◆ set_IsSubSuperscriptSet()

void Aspose::Pdf::Text::TextState::set_IsSubSuperscriptSet ( bool  value)
protected

◆ set_IsTextMatrixSet()

void Aspose::Pdf::Text::TextState::set_IsTextMatrixSet ( bool  value)
protected

◆ set_isTextWithPositions()

void Aspose::Pdf::Text::TextState::set_isTextWithPositions ( bool  value)
protected

please don't set this, use IsTextWithPositions

◆ set_IsTextWithPositions()

virtual void Aspose::Pdf::Text::TextState::set_IsTextWithPositions ( bool  value)
protectedvirtual

indicates whether TextWithPositions (TJ) operator must be used

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_IsUnderlineSet()

void Aspose::Pdf::Text::TextState::set_IsUnderlineSet ( bool  value)
protected

◆ set_IsVerticalAlignmentSet()

void Aspose::Pdf::Text::TextState::set_IsVerticalAlignmentSet ( bool  value)
protected

◆ set_IsWordSpacingSet()

void Aspose::Pdf::Text::TextState::set_IsWordSpacingSet ( bool  value)
protected

◆ set_LineSpacing()

virtual void Aspose::Pdf::Text::TextState::set_LineSpacing ( float  value)
virtual

Sets line spacing of the text.

Note that the value is not preserved as a text characteristic within the document. The LineSpacing property getter works for an object in case it was explicitly set previously with LineSpacing setter for those object.

The property is used by runtime in context of current generation/modification process.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_lineSpacing()

void Aspose::Pdf::Text::TextState::set_lineSpacing ( float  value)
protected

character spacing

◆ set_RenderingMode()

virtual void Aspose::Pdf::Text::TextState::set_RenderingMode ( TextRenderingMode  value)
virtual

Sets rendering mode of text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_renderingMode()

void Aspose::Pdf::Text::TextState::set_renderingMode ( TextRenderingMode  value)
protected

text rendering mode

◆ set_SetFlags()

void Aspose::Pdf::Text::TextState::set_SetFlags ( int32_t  value)
protected

◆ set_StrikeOut()

virtual void Aspose::Pdf::Text::TextState::set_StrikeOut ( bool  value)
virtual

Sets strikeout for the text, represented by the TextFragment object

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_strikeout()

void Aspose::Pdf::Text::TextState::set_strikeout ( bool  value)
protected

strikeout

◆ set_StrokingColor()

virtual void Aspose::Pdf::Text::TextState::set_StrokingColor ( System::SharedPtr< Color value)
virtual

Sets foreground color of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_strokingColor()

void Aspose::Pdf::Text::TextState::set_strokingColor ( System::SharedPtr< Color value)
protected

stroking color

◆ set_Subscript()

virtual void Aspose::Pdf::Text::TextState::set_Subscript ( bool  value)
virtual

Sets subscript of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_subscript()

void Aspose::Pdf::Text::TextState::set_subscript ( bool  value)
protected

subscript

◆ set_Superscript()

virtual void Aspose::Pdf::Text::TextState::set_Superscript ( bool  value)
virtual

Sets superscript of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_superscript()

void Aspose::Pdf::Text::TextState::set_superscript ( bool  value)
protected

superscript

◆ set_TabLeaderLength()

void Aspose::Pdf::Text::TextState::set_TabLeaderLength ( double  value)
protected

Length of tab leader before text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure.

◆ set_TabLeaderType()

void Aspose::Pdf::Text::TextState::set_TabLeaderType ( Aspose::Pdf::Text::TabLeaderType  value)
protected

Type of tab leader before text segment.

◆ set_TabstopShift()

void Aspose::Pdf::Text::TextState::set_TabstopShift ( double  value)
protected

Tabstop shift of position of text segment. It is calculated by TextFragment. Shouldn't set it directly if you don't sure.

◆ set_textMatrix()

void Aspose::Pdf::Text::TextState::set_textMatrix ( System::SharedPtr< Matrix value)
protected

text matrix

◆ set_TextMatrix()

virtual void Aspose::Pdf::Text::TextState::set_TextMatrix ( System::SharedPtr< Matrix value)
protectedvirtual

◆ set_Underline()

virtual void Aspose::Pdf::Text::TextState::set_Underline ( bool  value)
virtual

Sets underline for the text, represented by the TextFragment object

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_underline()

void Aspose::Pdf::Text::TextState::set_underline ( bool  value)
protected

underline

◆ set_VerticalAlignment()

virtual void Aspose::Pdf::Text::TextState::set_VerticalAlignment ( Aspose::Pdf::VerticalAlignment  value)
protectedvirtual

Sets vertical alignment for the text inside paragrph's Rectangle.

VerticalAlignment.None is equal to VerticalAlignment.Bottom.

Note that TextState.VerticalAlignment property works in new document generation scenarios only.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_WordSpacing()

virtual void Aspose::Pdf::Text::TextState::set_WordSpacing ( float  value)
virtual

Sets word spacing of the text.

Reimplemented in Aspose::Pdf::Text::TextFragmentState.

◆ set_wordSpacing()

void Aspose::Pdf::Text::TextState::set_wordSpacing ( float  value)
protected

word spacing

◆ SetColorWithArea()

void Aspose::Pdf::Text::TextState::SetColorWithArea ( System::SharedPtr< Color color,
System::SharedPtr< Rectangle rect 
)
protected

◆ SetStrokingColorWithArea()

void Aspose::Pdf::Text::TextState::SetStrokingColorWithArea ( System::SharedPtr< Color color,
System::SharedPtr< Rectangle rect 
)
protected

◆ ToEngineColor()

static System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor> Aspose::Pdf::Text::TextState::ToEngineColor ( System::SharedPtr< Color color)
staticprotected

◆ ToEngineColorCommon()

static System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor> Aspose::Pdf::Text::TextState::ToEngineColorCommon ( System::SharedPtr< Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor >  originalColor,
System::SharedPtr< Color color 
)
staticprotected

◆ ToEngineColorWithArea()

System::SharedPtr<Aspose::Pdf::Engine::CommonData::Graphics::Colors::IColor> Aspose::Pdf::Text::TextState::ToEngineColorWithArea ( System::SharedPtr< Color color,
System::SharedPtr< Rectangle rect 
)
protected

◆ UpdateUnderlineFromSource()

void Aspose::Pdf::Text::TextState::UpdateUnderlineFromSource ( )
protected

Searches for operators that used for orginizing text underline for current text block. If found it will be replaced for operators generated by our code.

Member Data Documentation

◆ OnFontChanged

System::EventHandler Aspose::Pdf::Text::TextState::OnFontChanged
protected

◆ OnFontSizeChanged

System::EventHandler Aspose::Pdf::Text::TextState::OnFontSizeChanged
protected

◆ TabstopDefaultValue

float Aspose::Pdf::Text::TextState::TabstopDefaultValue

◆ TabTag

System::String Aspose::Pdf::Text::TextState::TabTag