The VECTORTEXT structure holds information about a vector text object.
typedef struct tagVECTORTEXT
{
VECTOROBJECT Object;
VECTORPOINT Point;
L_TCHAR * pszText;
L_UINT32 dwFlags;
L_DOUBLE CharHeight;
L_DOUBLE CharWidth;
VECTORPEN Pen;
VECTORBRUSH Brush;
VECTORFONT Font;
} VECTORTEXT, * pVECTORTEXT;
Abstract object.
Insertion point for the text.
Character string that contains the text to insert.
Flag that indicates how to position the text and how to handle text when hit testing. Possible values are:
Value | Meaning |
---|---|
VECTOR_TEXT_LEFT | Align text to the left of the insertion point. |
VECTOR_TEXT_RIGHT | Align text to the right of the insertion point. |
VECTOR_TEXT_HCENTER | Center text horizontally on the insertion point. |
VECTOR_TEXT_TOP | Align text to the top of the insertion point. |
VECTOR_TEXT_BOTTOM | Align text to the bottom of the insertion point. |
VECTOR_TEXT_VCENTER | Center text vertically on the insertion point. |
VECTOR_TEXT_HITTESTRECT | Perform hit text on the bounding rectangle, not just the text characters. |
VECTOR_TEXT_FORCECURVERENDERING | Draw text as set of polypoint instead of drawing it as actual text. |
VECTOR_TEXT_BASELINE | Draw text with baseline. |
Height in physical units of a single character. Note if this parameter is 0, the toolkit will use the height of the font used instead.
Width in physical units of a single character. Note if this parameter is 0, the toolkit will use a suitable width for the given height.
VECTORPEN structure that contains information about the pen to use when drawing the vector text object.
VECTORBRUSH structure that contains information about the brush to use when drawing the vector text object.
VECTORFONT structure that contains information about the font to use when drawing the vector text object.
nSize of the Object member must be the sizeof this structure.
nType of the Object member must be VECTOR_TEXT.
pVECTORTEXT is a pointer to a VECTORTEXT structure.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.