# A3DPDFTextGetWidth

A3DStatus `A3DPDFTextGetWidth`(A3DPDFText *pText, A3DDouble *pdSizeH, A3DDouble *pdSizeV)
  `A3DStatus` A3DPDFTextGetWidth(`A3DPDFText`* pText, `A3DDouble`* pdSizeH, `A3DDouble`* pdSizeV)

  Function to determine the width of a text string.

  The width is returned in same units as the page. It may be horizontal or vertical, depending on the writing style. Thus the returned width has both a horizontal and vertical component. Please note that vertical size is not the height of the text, but the size for a vertical writing type. For most of fonts, the pdSizeV is zero.

  Parameters

  > pText: The Text object to calculate the size of.

  > pdSizeH: The horizontal size of the text. Is used if writing style is horizontal.

  > pdSizeV: The vertical size of the text. Is used if writing style is vertical.

  Returns

  > A3D_SUCCESS in case of success or an error code

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...