MeasureTextFlow

텍스트, 레이아웃

설명

남은 흐름을 진행하지 않고 지정된 너비에서 필요한 줄 수를 보고합니다

구문

Delphi

Function TPDFlib.MeasureTextFlow(FlowID: Integer; Width: Double): Integer;

ActiveX

Function PDFlib::MeasureTextFlow(FlowID As Long, Width As Double) As Long

DLL

int DLMeasureTextFlow(int InstanceID, int FlowID, double Width);

반환 값

필요한 줄 수를 반환하며 흐름이 완료되었거나 유효하지 않으면 0을 반환합니다

비고

측정은 현재 글꼴, 크기, 언어 및 하이픈 연결 설정을 사용하며 흐름 커서를 변경하지 않습니다

참고 항목

DrawTextFlow, DrawTextFlowColumns