Graphisoft®

API Development KitVersion: 18

API_NoteType

치수 및 해치 텍스트에서 사용하는 일반 노트를 설명합니다.

    typedef struct {
        short                   notePen;
        short                   noteLayer;
        short                   noteFont;
        short                   filler_1;
        double                  noteSize;
        double                  noteAngle;
        Int32                   filler_2[8];
        API_Coord               pos;
        char                    content[64];
        GS::UniString           *contentUStr;
        Int32                   filler_3;
        API_NoteContentType     contentType;
        GS::Bool8               fixPos;
        GS::Bool8               filler_4;
        unsigned short          faceBits;
        GS::Bool8               opaque;
        GS::Bool8               frame;
        short                   backgroundPen;
        short                   framePen;
        short                   filler_5;
        Int32                   filler_6[4];
    } API_NoteType;

 

멤버

notePen
펜 속성 인덱스입니다.
noteLayer
레이어 속성 인덱스입니다.
noteFont
글꼴 속성 인덱스입니다.
noteSize
단위 mm인 문자 높이입니다.
noteAngle
단위 radian인 회전 각도입니다.
pos
좌하단의 좌표들입니다.
content[64] Modified in 14
노트의 텍스트 또는 자동텍스트입니다.
contentUStr Modified in 17
UniString 포맷의 노트의 텍스트 또는 자동텍스트에 접근하기 위한 선택적인 파라미터입니다.
contentType Modified in 14
0: 측정된 값, 1: 커스텀 텍스트
fixPos
노트의 위치는 수동으로 고정되어 있습니까?
faceBits
노트의 스타일입니다:

APIFace_Plain

일반 텍스트

APIFace_Bold

강조체

APIFace_Italic

이탤릭체

APIFace_Underline

밑줄

subContent[8]
별도의 텍스트입니다. (특정 시장에서 요구됨) 예: Small 5, Small 25, Small 75.
opaque 13
노트는 배경을 갖고 있습니다.
frame 13
노트는 프레임을 갖고 있습니다.
backgroundPen 13
만약 불투명한 경우, 배경 컬러 인덱스입니다.
framePen 13
만약 프레임을 갖고 있다면, 프레임 컬러 인덱스입니다.

 

설명

이 타입은 여러 곳에서 사용합니다. 예. 치수들의 텍스트 블록.

subContent는 is API 14에서 제거되었습니다.

 

요구사항

버전: API 2.1 또는 이후
헤더: APIdefs_Elements.h

 

참고사항

API_Coord
API_HatchType
API_WindowType
API_DoorType
API_DimensionType
API_RadialDimensionType
API_LevelDimensionType
API_AngleDimensionType
API_DimElem
API 타입