Draws the specified text string in the specified rectangle with the specified Fill and Font objects using the alignment of the specified ContentAlignment object.
Namespace:
PerpetuumSoft.Framework.DrawingAssembly: PerpetuumSoft.Framework (in PerpetuumSoft.Framework.dll) Version: 3.9.0.1
Syntax
C# |
---|
public abstract void DrawText( string str, Font font, Fill fill, VectorRectangle layoutRect, ContentAlignment align ) |
Visual Basic (Declaration) |
---|
Public MustOverride Sub DrawText ( _ str As String, _ font As Font, _ fill As Fill, _ layoutRect As VectorRectangle, _ align As ContentAlignment _ ) |
Visual C++ |
---|
public: virtual void DrawText( String^ str, Font^ font, Fill^ fill, VectorRectangle layoutRect, ContentAlignment align ) abstract |
Parameters
- str
- Type: System..::.String
- font
- Type: System.Drawing..::.Font
- fill
- Type: PerpetuumSoft.Framework.Drawing..::.Fill
- layoutRect
- Type: PerpetuumSoft.Framework.Drawing..::.VectorRectangle
- align
- Type: System.Drawing..::.ContentAlignment