QPdfDocumentRenderOptions Class

QPdfDocumentRenderOptions 클래스에는 PDF 문서에서 페이지를 렌더링하는 옵션이 있습니다. 더 보기...

Header: #include <QPdfDocumentRenderOptions>

공용 유형

enum class RenderFlag { None, Annotations, OptimizedForLcd, Grayscale, ForceHalftone, …, PathAliased }
flags RenderFlags
enum class Rotation { None, Clockwise90, Clockwise180, Clockwise270 }

공용 함수

QPdfDocumentRenderOptions()
QPdfDocumentRenderOptions::RenderFlags renderFlags() const
QPdfDocumentRenderOptions::Rotation rotation() const
QRect scaledClipRect() const
QSize scaledSize() const
void setRenderFlags(QPdfDocumentRenderOptions::RenderFlags flags)
void setRotation(QPdfDocumentRenderOptions::Rotation rotation)
void setScaledClipRect(const QRect &r)
void setScaledSize(const QSize &s)

상세 설명

QPdfDocument참조하세요 .

멤버 유형 문서

열거형 클래스 QPdfDocumentRenderOptions::RenderFlag
플래그 QPdfDocumentRenderOptions::RenderFlags

이 열거형은 페이지 렌더링 방법을 설명하는 데 사용됩니다.

Constant설명
QPdfDocumentRenderOptions::RenderFlag::None0x000기본값으로, 플래그가 없음을 나타냅니다.
QPdfDocumentRenderOptions::RenderFlag::Annotations0x001페이지가 주석과 함께 렌더링됩니다.
QPdfDocumentRenderOptions::RenderFlag::OptimizedForLcd0x002페이지의 텍스트가 LCD 디스플레이에 최적화되어 렌더링됩니다.
QPdfDocumentRenderOptions::RenderFlag::Grayscale0x004페이지가 회색조로 렌더링됩니다.
QPdfDocumentRenderOptions::RenderFlag::ForceHalftone0x008출력 이미지가 늘어나는 경우 항상 하프톤을 사용하여 렌더링합니다.
QPdfDocumentRenderOptions::RenderFlag::TextAliased0x010텍스트 렌더링 시 앤티 앨리어싱이 비활성화됩니다.
QPdfDocumentRenderOptions::RenderFlag::ImageAliased0x020이미지 렌더링에는 앤티 앨리어싱이 비활성화됩니다.
QPdfDocumentRenderOptions::RenderFlag::PathAliased0x040경로 렌더링에는 앤티 앨리어싱이 비활성화됩니다.

RenderFlags 유형은 QFlags<RenderFlag>에 대한 typedef입니다. RenderFlag 값의 OR 조합을 저장합니다.

QPdfDocument::render()도 참조하세요 .

enum class QPdfDocumentRenderOptions::Rotation

이 열거형은 렌더링할 페이지의 회전을 설명합니다.

Constant설명
QPdfDocumentRenderOptions::Rotation::None0회전하지 않음(기본값)
QPdfDocumentRenderOptions::Rotation::Clockwise901시계 방향으로 90도 회전
QPdfDocumentRenderOptions::Rotation::Clockwise1802180도 회전
QPdfDocumentRenderOptions::Rotation::Clockwise2703시계 방향으로 270도 회전

QPdfDocument::render()도 참조하세요 .

멤버 기능 문서

[constexpr noexcept] QPdfDocumentRenderOptions::QPdfDocumentRenderOptions()

QPdfDocumentRenderOptions 객체를 구축합니다.

[constexpr noexcept] QPdfDocumentRenderOptions::RenderFlags QPdfDocumentRenderOptions::renderFlags() const

PDF 문서에서 페이지를 렌더링하는 데 사용되는 특수 플래그를 반환합니다.

setRenderFlags()도 참조하세요 .

[constexpr noexcept] QPdfDocumentRenderOptions::Rotation QPdfDocumentRenderOptions::rotation() const

PDF 문서에서 페이지를 렌더링하는 데 사용된 회전을 반환합니다.

setRotation()도 참조하세요 .

[constexpr noexcept] QRect QPdfDocumentRenderOptions::scaledClipRect() const

scaledSize()로 크기를 조정한 후 페이지에서 잘라낼 직사각형 영역을 반환합니다.

setScaledClipRect()도 참조하세요 .

[constexpr noexcept] QSize QPdfDocumentRenderOptions::scaledSize() const

렌더링할 페이지의 크기를 픽셀 단위로 반환합니다.

setScaledSize()도 참조하세요 .

[constexpr noexcept] void QPdfDocumentRenderOptions::setRenderFlags(QPdfDocumentRenderOptions::RenderFlags flags)

PDF 문서에서 페이지를 렌더링하는 데 사용되는 특수 flags 를 설정합니다.

renderFlags()도 참조하세요 .

[constexpr noexcept] void QPdfDocumentRenderOptions::setRotation(QPdfDocumentRenderOptions::Rotation rotation)

PDF 문서에서 페이지를 렌더링하는 데 사용되는 rotation 을 설정합니다.

rotation()도 참조하세요 .

[constexpr noexcept] void QPdfDocumentRenderOptions::setScaledClipRect(const QRect &r)

직사각형 영역(r)을 scaledSize()으로 크기 조정한 후 페이지에서 잘라내도록 설정합니다.

scaledClipRect()도 참조하세요 .

[constexpr noexcept] void QPdfDocumentRenderOptions::setScaledSize(const QSize &s)

렌더링할 페이지의 크기(s)를 픽셀 단위로 설정합니다.

scaledSize()도 참조하세요 .

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.