Class IGDIPlus.TGPStringFormat
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPStringFormat = class( TGPBase, IGPStringFormat )
C++ Builder:
class TGPStringFormat : public TGPBase
Visual C++ (MFC):
class CTGPStringFormat : public CTGPBase
C# (.NET):
public ref class TGPStringFormat : Mitov.SignalLab.Base
Summary
Encapsulates text layout information and display manipulations.
Description
The TGPStringFormat class encapsulates text layout information (such as alignment, orientation, tab stops, and clipping) and display manipulations (such as trimming, font substitution for characters that are not supported by the requested font, and digit substitution for languages that do not use Western European digits). A TGPStringFormat object can be passed to the Graphics::DrawString Methods method to format a string.
Methods
Public
- function Clone() : TGPStringFormat
- function SetFormatFlags(flags : Integer) : TGPStringFormat
- procedure SetFormatFlagsProp(flags : Integer)
- function GetFormatFlags() : Integer
- function SetAlignment(align : TGPStringAlignment) : TGPStringFormat
- procedure SetAlignmentProp(align : TGPStringAlignment)
- function GetAlignment() : TGPStringAlignment
- function SetLineAlignment(align : TGPStringAlignment) : TGPStringFormat
- procedure SetLineAlignmentProp(align : TGPStringAlignment)
- function GetLineAlignment() : TGPStringAlignment
- function SetHotkeyPrefix(hotkeyPrefix : TGPHotkeyPrefix) : TGPStringFormat
- procedure SetHotkeyPrefixProp(hotkeyPrefix : TGPHotkeyPrefix)
- function GetHotkeyPrefix() : TGPHotkeyPrefix
- function SetTabStops(firstTabOffset : Single; tabStops : array) : TGPStringFormat
- function GetTabStopCount() : Integer
- function GetTabStops(initialTabOffset : Single) : TGPSingleArray
- function GetTabStops() : TGPSingleArray
- function GetTabStopsProp() : TGPSingleArray
- function GetInitialTabOffset() : Single
- function SetDigitSubstitution(language : LANGID; substitute : TGPStringDigitSubstitute) : TGPStringFormat
- function GetDigitSubstitutionLanguage() : LANGID
- function GetDigitSubstitutionMethod() : TGPStringDigitSubstitute
- function SetTrimming(trimming : TGPStringTrimming) : TGPStringFormat
- procedure SetTrimmingProp(trimming : TGPStringTrimming)
- function GetTrimming() : TGPStringTrimming
- function SetMeasurableCharacterRanges(ranges : array) : TGPStringFormat
- function GetMeasurableCharacterRangeCount() : Integer
- function GenericDefault() : TGPStringFormat - Creates a generic, default TGPStringFormat object.
- function GenericTypographic() : TGPStringFormat - Creates a generic, typographic TGPStringFormat object.