Measures the specified string when drawn with the specified font.
SyntaxVB6
Copy Code
|
|---|
Public Sub MeasureString( _ |
C++
Copy Code
|
|---|
public: |
RemarksUse this method to find out how much space the control would need to display a string with the current MeasureUnit. Note that FlowChartX leaves one millimeter margins between the text and the box / cell borders when displaying text inside objects. Thus you need to add two millimeters to the returned width and height to find how big a box or a table cell should be in order to display the text without clipping.
See Also