Public Types | |
typedef colour | color |
Public Member Functions | |
this (WindowBase p, Font f, RGBColour c) | |
Constructs a new FontDialog. | |
this (WindowBase p, Font f=null) | |
Constructs a new FontDialog. | |
bool | show () |
Displays the dialog box to select a font. | |
Properties | |
Font | font () |
The font selected in the dialog. | |
Font | font (Font f) |
The font selected in the dialog. | |
float | pointSize () |
The point size of the selected font. | |
float | pointSize (float pt) |
The point size of the selected font. | |
float | pointSize (int pt) |
The point size of the selected font. | |
float | minPointSize () |
The minimum point size that the user may select. | |
float | minPointSize (float pt) |
The minimum point size that the user may select. | |
float | minPointSize (int pt) |
The minimum point size that the user may select. | |
float | maxPointSize () |
The maximum point size that the user may select. | |
float | maxPointSize (float pt) |
The maximum point size that the user may select. | |
float | maxPointSize (int pt) |
The maximum point size that the user may select. | |
string | style () |
A string denoting the font style. | |
string | style (string s) |
A string denoting the font style. | |
Protected Attributes | |
LOGFONTA | fontSpec |
smjg.libs.sdwf.commondialog.FontDialog.this | ( | WindowBase | p, | |
Font | f, | |||
RGBColour | c | |||
) |
Constructs a new FontDialog.
smjg.libs.sdwf.commondialog.FontDialog.this | ( | WindowBase | p, | |
Font | f = null | |||
) |
Constructs a new FontDialog.
bool smjg.libs.sdwf.commondialog.FontDialog.show | ( | ) |
Displays the dialog box to select a font.
true | if the operation succeeded. | |
false | if the operation was cancelled. |
Font smjg.libs.sdwf.commondialog.FontDialog.font | ( | ) |
Font smjg.libs.sdwf.commondialog.FontDialog.font | ( | Font | f | ) |
The font selected in the dialog.
float smjg.libs.sdwf.commondialog.FontDialog.pointSize | ( | ) |
The point size of the selected font.
float smjg.libs.sdwf.commondialog.FontDialog.pointSize | ( | float | pt | ) |
The point size of the selected font.
float smjg.libs.sdwf.commondialog.FontDialog.pointSize | ( | int | pt | ) |
The point size of the selected font.
float smjg.libs.sdwf.commondialog.FontDialog.minPointSize | ( | ) |
The minimum point size that the user may select.
float smjg.libs.sdwf.commondialog.FontDialog.minPointSize | ( | float | pt | ) |
The minimum point size that the user may select.
float smjg.libs.sdwf.commondialog.FontDialog.minPointSize | ( | int | pt | ) |
The minimum point size that the user may select.
float smjg.libs.sdwf.commondialog.FontDialog.maxPointSize | ( | ) |
The maximum point size that the user may select.
float smjg.libs.sdwf.commondialog.FontDialog.maxPointSize | ( | float | pt | ) |
The maximum point size that the user may select.
float smjg.libs.sdwf.commondialog.FontDialog.maxPointSize | ( | int | pt | ) |
The maximum point size that the user may select.
string smjg.libs.sdwf.commondialog.FontDialog.style | ( | ) |
A string denoting the font style.
string smjg.libs.sdwf.commondialog.FontDialog.style | ( | string | s | ) |
A string denoting the font style.
uint smjg.libs.sdwf.commondialog.FontDialog._structSize = CHOOSEFONTA.sizeof |
The device context of a printer, in order to select printer fonts.
LOGFONTA* smjg.libs.sdwf.commondialog.FontDialog._logFont = null |
The font size, in tenths of a point.
This is the internal representation; it is also useful in place of pointSize if the size is desired in decipoints for some purpose.
LPCFHOOKPROC smjg.libs.sdwf.commondialog.FontDialog._hookFunction = null |
LPCTSTR smjg.libs.sdwf.commondialog.FontDialog._lpTemplateName = null |
HINSTANCE smjg.libs.sdwf.commondialog.FontDialog._instanceHandle = null |
LPTSTR smjg.libs.sdwf.commondialog.FontDialog._style = null |
FONTTYPE smjg.libs.sdwf.commondialog.FontDialog.fontType = FONTTYPE.NONE |
A bitwise combination of flags denoting characteristics of the selected font.
The minimum font size, in tenths of a point.
This property applies to font dialogs with the CF.LIMITSIZE flag specified.
The maximum font size, in tenths of a point.
This property applies to font dialogs with the CF.LIMITSIZE flag specified.
CHOOSEFONTA smjg.libs.sdwf.commondialog.FontDialog.spec |
This dialog specification as a Windows CHOOSEFONTA structure.
LOGFONTA smjg.libs.sdwf.commondialog.FontDialog.fontSpec [protected] |