VS:SetTextStyle/ja

From Vectorworks Developer
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

ハンドルで指定した文字図形の指定した位置から、指定した長さまでのフォントのスタイルを設定します。

PROCEDURE SetTextStyle(
objectHd :HANDLE;
Start :INTEGER;
Count :INTEGER;
Style :INTEGER);
def vs.SetTextStyle(objectHd, Start, Count, Style):
    return None

Parameters

objectHd HANDLE 文字図形のハンドル
Start INTEGER 文字の位置
Count INTEGER 文字の長さ
Style INTEGER 文字のスタイル

Example

SetTextSyle(HandleToText,0,5,34);

{set the style of the substring text to bold and shadowed}

Version

利用可能バージョン: MiniCAD6.0