Aspose::Page::XPS::XpsDocument::CreateFont methode

XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream>) method

Maakt een nieuw TrueType lettertype-resource aan vanuit een stream.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeBeschrijving
streamSystem::SharedPtr<System::IO::Stream>De stream die het ICC-profiel bevat dat als resource moet worden genomen.

ReturnValue

Nieuwe TrueType‑lettertypebron.

Zie ook

XpsDocument::CreateFont(System::String, System::Drawing::FontStyle) method

Maakt een nieuw TrueType lettertype-resource aan.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParameterTypeBeschrijving
fontFamilySystem::StringDe lettertypefamilie.
fontStyleSystem::Drawing::FontStyleDe lettertype‑stijl.

ReturnValue

Nieuwe TrueType‑lettertypebron.

Zie ook