pub struct IPartFont(/* private fields */);
Implementations§
§impl IPartFont
impl IPartFont
pub unsafe fn GetUri(&self) -> Result<BSTR>
pub unsafe fn GetStream(&self) -> Result<IPrintReadStream>
pub unsafe fn GetPartCompression(&self) -> Result<EXpsCompressionOptions>
pub unsafe fn SetPartCompression( &self, compression: EXpsCompressionOptions ) -> Result<()>
pub unsafe fn GetFontProperties( &self, pcontenttype: *mut BSTR, pfontoptions: *mut EXpsFontOptions ) -> Result<()>
pub unsafe fn SetFontContent<P0>(&self, pcontenttype: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetFontOptions(&self, options: EXpsFontOptions) -> Result<()>
Trait Implementations§
§impl From<&IPartFont2> for &IPartFont
impl From<&IPartFont2> for &IPartFont
§fn from(value: &IPartFont2) -> Self
fn from(value: &IPartFont2) -> Self
Converts to this type from the input type.
§impl From<IPartFont2> for IPartFont
impl From<IPartFont2> for IPartFont
§fn from(value: IPartFont2) -> Self
fn from(value: IPartFont2) -> Self
Converts to this type from the input type.
§impl Interface for IPartFont
impl Interface for IPartFont
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for IPartFont
impl StructuralPartialEq for IPartFont
Auto Trait Implementations§
impl RefUnwindSafe for IPartFont
impl !Send for IPartFont
impl !Sync for IPartFont
impl Unpin for IPartFont
impl UnwindSafe for IPartFont
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more