| Package | Description |
|---|---|
| com.aspose.drawing |
Aspose.Drawing is a graphics API that provides the capability of 2D drawings identical to GDI+ in your .NET applications.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
Font.deepClone()
Creates an exact copy of this
Font. |
static Font |
SystemFonts.getCaptionFont()
Gets a
Font that is used to display text in the title bars of windows. |
static Font |
SystemFonts.getDefaultFont()
Gets the default font that applications can use for dialog boxes and forms.
|
static Font |
SystemFonts.getDialogFont()
Gets a font that applications can use for dialog boxes and forms.
|
static Font |
SystemFonts.getFontByName(String systemFontName)
Returns a font object that corresponds to the specified system font name.
|
static Font |
SystemFonts.getIconTitleFont()
Gets a
Font that is used for icon titles. |
static Font |
SystemFonts.getMenuFont()
Gets a
Font that is used for menus. |
static Font |
SystemFonts.getMessageBoxFont()
Gets a
Font that is used for message boxes. |
static Font |
SystemFonts.getSmallCaptionFont()
Gets a
Font that is used to display text in the title bars of small windows, such as tool windows. |
static Font |
SystemFonts.getStatusFont()
Gets a
Font that is used to display text in the status bar. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y)
|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y,
StringFormat format)
Draws the specified text string at the specified location with the specified
Brush and
Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point)
|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point,
StringFormat format)
Draws the specified text string at the specified location with the specified
Brush and
Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle)
Draws the specified text string in the specified rectangle with the specified
Brush
and Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle,
StringFormat format)
Draws the specified text string in the specified rectangle with the specified
Brush
and Font objects using the formatting attributes of the specified StringFormat. |
Region[] |
Graphics.measureCharacterRanges(String text,
Font font,
RectangleF layoutRect,
StringFormat stringFormat)
Gets an array of
Region objects, each of which bounds a range of character positions within the specified string. |
SizeF |
Graphics.measureString(String text,
Font font)
Measures the specified string when drawn with the specified
Font. |
SizeF |
Graphics.measureString(String text,
Font font,
int width)
Measures the specified string when drawn with the specified
Font. |
SizeF |
Graphics.measureString(String text,
Font font,
int width,
StringFormat format)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
PointF origin,
StringFormat stringFormat)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
SizeF layoutArea)
Measures the specified string when drawn with the specified
Font. |
SizeF |
Graphics.measureString(String text,
Font font,
SizeF layoutArea,
StringFormat stringFormat)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
SizeF |
Graphics.measureString(String text,
Font font,
SizeF layoutArea,
StringFormat stringFormat,
int[] charactersFitted,
int[] linesFilled)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
| Constructor and Description |
|---|
Font(Font prototype,
int newStyle)
|
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.