Aspose::Page::XPS::XpsDocument::CreateFont method

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

ينشئ مورد خط TrueType جديد من تدفق.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::SharedPtr<System::IO::Stream> stream)
ParameterTypeالوصف
دفقSystem::SharedPtr<System::IO::Stream>الدفق الذي يحتوي على ملف تعريف ICC لاستخدامه كمورد.

ReturnValue

مورد خط TrueType جديد.

انظر أيضًا

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

ينشئ مورد خط TrueType جديد.

System::SharedPtr<XpsModel::XpsFont> Aspose::Page::XPS::XpsDocument::CreateFont(System::String fontFamily, System::Drawing::FontStyle fontStyle)
ParameterTypeالوصف
fontFamilySystem::Stringعائلة الخط.
fontStyleSystem::Drawing::FontStyleنمط الخط.

ReturnValue

مورد خط TrueType جديد.

انظر أيضًا