FontFamilyMap FontFamilyMapCollection FontFamilyValueSerializer 字体 FormattedText FormattedText 构造函数 属性 方法 BuildGeometry BuildHighlightGeometry GetMaxTextWidths SetCulture SetFontFamily SetFontSize SetFontStretch SetFontStyle SetFontTypeface SetFontWeight ...
Windows.Media 組件: PresentationCore.dll 設定字型大小。 多載 展開表格 SetFontSize(Double) 設定FormattedText 物件中整個字元集的字型大小。 SetFontSize(Double, Int32, Int32) 設定FormattedText 物件中所指定字元子集的字型大小。 SetFontSize(Double) 設定FormattedText 物件中整個字元集的字型大小。
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9 SetFontSize(Double, Int32, Int32) 設定FormattedText 物件中所指定字元子集的字型大小。 C# 複製 public void SetFontSize (double emSize, int startIndex, int count); 參數 emSize Double 字型'em' 量值大小,以與裝置無關的單位提供, (每單位 1/...
fontSize 類型: FLOAT 要針對 textRange所指定範圍內的文字設定的 DIP 單位字型大小。 textRange 類型: DWRITE_TEXT_RANGE 套用這項變更的文字範圍。 傳回值 類型: HRESULT 如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。 需求 展開表格 最低支援的用戶端 適用于 Windows Vista 的 Win...
[从 Windows 7 开始,Microsoft代理已弃用,在后续版本的 Windows 中可能不可用。 syntax 复制 HRESULT SetFontSize( long lFontSize // font size displayed in word balloon ); 设置字气球中显示的字体大小。 返回S_OK以指示作成功。 lFontSize 字体的大小。 字符气球中使用的默认字号在Microsoft代理字符...
public void SetFontFamily(System.Windows.Media.FontFamily fontFamily); Parameters fontFamily FontFamily The FontFamily to use for text formatting. Remarks This method sets the font family value for the entire text string. To set the font family value for a subset of the text string, use the...
[System.Runtime.Versioning.SupportedOSPlatform("windows")]publicstaticvoidSetWindowSize(intwidth,intheight); Parameters width Int32 The width of the console window measured in columns. height Int32 The height of the console window measured in rows. ...
ctx.setfontsize(30); ctx.filltext('30',60,60); ctx.setfontsize(38); ctx.filltext('38',90,90); ctx.draw(); 支持说明 应用能力 android ios mac windows 预览效果 h5 不支持 不支持 不支持 不支持 - 小程序 6.0.0 6.0.0 不支持 不支持 去预览 支持应用类型 应用类型 是否支持调用 企业内部...
Font values, returned as a structure of font property values. The structure fields are: FontName FontWeight FontAngle FontUnits FontSize If the user typed a floating-point number for the dialog box field that corresponds to theFontSizevalue, then MATLAB rounds it to the closest integer value ...
When set to False, HTML formatting (such as font size and color, drop-down lists and buttons, etc.) will be retained when pasted into an instant message. Note that, even when set to False, scripts and other potentially malicious items (such as tags that play a sound) will not be ...