pub struct ITextFont2(/* private fields */);
Implementations§
§impl ITextFont2
impl ITextFont2
pub unsafe fn GetDuplicate(&self) -> Result<ITextFont>
pub unsafe fn SetDuplicate<P0>(&self, pfont: P0) -> Result<()>where
P0: IntoParam<ITextFont>,
pub unsafe fn CanChange(&self) -> Result<i32>
pub unsafe fn IsEqual<P0>(&self, pfont: P0) -> Result<i32>where
P0: IntoParam<ITextFont>,
pub unsafe fn Reset(&self, value: tomConstants) -> Result<()>
pub unsafe fn GetStyle(&self) -> Result<i32>
pub unsafe fn SetStyle(&self, value: i32) -> Result<()>
pub unsafe fn GetAllCaps(&self) -> Result<i32>
pub unsafe fn SetAllCaps(&self, value: i32) -> Result<()>
pub unsafe fn GetAnimation(&self) -> Result<i32>
pub unsafe fn SetAnimation(&self, value: i32) -> Result<()>
pub unsafe fn GetBackColor(&self) -> Result<i32>
pub unsafe fn SetBackColor(&self, value: i32) -> Result<()>
pub unsafe fn GetBold(&self) -> Result<i32>
pub unsafe fn SetBold(&self, value: i32) -> Result<()>
pub unsafe fn GetEmboss(&self) -> Result<i32>
pub unsafe fn SetEmboss(&self, value: i32) -> Result<()>
pub unsafe fn GetForeColor(&self) -> Result<i32>
pub unsafe fn SetForeColor(&self, value: i32) -> Result<()>
pub unsafe fn GetHidden(&self) -> Result<i32>
pub unsafe fn SetHidden(&self, value: i32) -> Result<()>
pub unsafe fn GetEngrave(&self) -> Result<i32>
pub unsafe fn SetEngrave(&self, value: i32) -> Result<()>
pub unsafe fn GetItalic(&self) -> Result<i32>
pub unsafe fn SetItalic(&self, value: i32) -> Result<()>
pub unsafe fn GetKerning(&self) -> Result<f32>
pub unsafe fn SetKerning(&self, value: f32) -> Result<()>
pub unsafe fn GetLanguageID(&self) -> Result<i32>
pub unsafe fn SetLanguageID(&self, value: i32) -> Result<()>
pub unsafe fn GetName(&self) -> Result<BSTR>
pub unsafe fn SetName<P0>(&self, bstr: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetOutline(&self) -> Result<i32>
pub unsafe fn SetOutline(&self, value: i32) -> Result<()>
pub unsafe fn GetPosition(&self) -> Result<f32>
pub unsafe fn SetPosition(&self, value: f32) -> Result<()>
pub unsafe fn GetProtected(&self) -> Result<i32>
pub unsafe fn SetProtected(&self, value: i32) -> Result<()>
pub unsafe fn GetShadow(&self) -> Result<i32>
pub unsafe fn SetShadow(&self, value: i32) -> Result<()>
pub unsafe fn GetSize(&self) -> Result<f32>
pub unsafe fn SetSize(&self, value: f32) -> Result<()>
pub unsafe fn GetSmallCaps(&self) -> Result<i32>
pub unsafe fn SetSmallCaps(&self, value: i32) -> Result<()>
pub unsafe fn GetSpacing(&self) -> Result<f32>
pub unsafe fn SetSpacing(&self, value: f32) -> Result<()>
pub unsafe fn GetStrikeThrough(&self) -> Result<i32>
pub unsafe fn SetStrikeThrough(&self, value: i32) -> Result<()>
pub unsafe fn GetSubscript(&self) -> Result<i32>
pub unsafe fn SetSubscript(&self, value: i32) -> Result<()>
pub unsafe fn GetSuperscript(&self) -> Result<i32>
pub unsafe fn SetSuperscript(&self, value: i32) -> Result<()>
pub unsafe fn GetUnderline(&self) -> Result<i32>
pub unsafe fn SetUnderline(&self, value: i32) -> Result<()>
pub unsafe fn GetWeight(&self) -> Result<i32>
pub unsafe fn SetWeight(&self, value: i32) -> Result<()>
pub unsafe fn GetCount(&self) -> Result<i32>
pub unsafe fn GetAutoLigatures(&self) -> Result<i32>
pub unsafe fn SetAutoLigatures(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceAlpha(&self) -> Result<i32>
pub unsafe fn SetAutospaceAlpha(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceNumeric(&self) -> Result<i32>
pub unsafe fn SetAutospaceNumeric(&self, value: i32) -> Result<()>
pub unsafe fn GetAutospaceParens(&self) -> Result<i32>
pub unsafe fn SetAutospaceParens(&self, value: i32) -> Result<()>
pub unsafe fn GetCharRep(&self) -> Result<i32>
pub unsafe fn SetCharRep(&self, value: i32) -> Result<()>
pub unsafe fn GetCompressionMode(&self) -> Result<i32>
pub unsafe fn SetCompressionMode(&self, value: i32) -> Result<()>
pub unsafe fn GetCookie(&self) -> Result<i32>
pub unsafe fn SetCookie(&self, value: i32) -> Result<()>
pub unsafe fn GetDoubleStrike(&self) -> Result<i32>
pub unsafe fn SetDoubleStrike(&self, value: i32) -> Result<()>
pub unsafe fn GetDuplicate2(&self) -> Result<ITextFont2>
pub unsafe fn SetDuplicate2<P0>(&self, pfont: P0) -> Result<()>where
P0: IntoParam<ITextFont2>,
pub unsafe fn GetLinkType(&self) -> Result<i32>
pub unsafe fn GetMathZone(&self) -> Result<i32>
pub unsafe fn SetMathZone(&self, value: i32) -> Result<()>
pub unsafe fn GetModWidthPairs(&self) -> Result<i32>
pub unsafe fn SetModWidthPairs(&self, value: i32) -> Result<()>
pub unsafe fn GetModWidthSpace(&self) -> Result<i32>
pub unsafe fn SetModWidthSpace(&self, value: i32) -> Result<()>
pub unsafe fn GetOldNumbers(&self) -> Result<i32>
pub unsafe fn SetOldNumbers(&self, value: i32) -> Result<()>
pub unsafe fn GetOverlapping(&self) -> Result<i32>
pub unsafe fn SetOverlapping(&self, value: i32) -> Result<()>
pub unsafe fn GetPositionSubSuper(&self) -> Result<i32>
pub unsafe fn SetPositionSubSuper(&self, value: i32) -> Result<()>
pub unsafe fn GetScaling(&self) -> Result<i32>
pub unsafe fn SetScaling(&self, value: i32) -> Result<()>
pub unsafe fn GetSpaceExtension(&self) -> Result<f32>
pub unsafe fn SetSpaceExtension(&self, value: f32) -> Result<()>
pub unsafe fn GetUnderlinePositionMode(&self) -> Result<i32>
pub unsafe fn SetUnderlinePositionMode(&self, value: i32) -> Result<()>
pub unsafe fn GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> Result<()>
pub unsafe fn GetEffects2( &self, pvalue: *mut i32, pmask: *mut i32 ) -> Result<()>
pub unsafe fn GetProperty(&self, type: i32) -> Result<i32>
pub unsafe fn GetPropertyInfo( &self, index: i32, ptype: *mut i32, pvalue: *mut i32 ) -> Result<()>
pub unsafe fn IsEqual2<P0>(&self, pfont: P0) -> Result<i32>where
P0: IntoParam<ITextFont2>,
pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> Result<()>
pub unsafe fn SetEffects2(&self, value: i32, mask: i32) -> Result<()>
pub unsafe fn SetProperty(&self, type: i32, value: i32) -> Result<()>
Trait Implementations§
§impl Clone for ITextFont2
impl Clone for ITextFont2
§fn clone(&self) -> ITextFont2
fn clone(&self) -> ITextFont2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ITextFont2
impl Debug for ITextFont2
§impl From<&ITextFont2> for &IDispatch
impl From<&ITextFont2> for &IDispatch
§fn from(value: &ITextFont2) -> Self
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<&ITextFont2> for &ITextFont
impl From<&ITextFont2> for &ITextFont
§fn from(value: &ITextFont2) -> Self
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<&ITextFont2> for &IUnknown
impl From<&ITextFont2> for &IUnknown
§fn from(value: &ITextFont2) -> Self
fn from(value: &ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for IDispatch
impl From<ITextFont2> for IDispatch
§fn from(value: ITextFont2) -> Self
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for ITextFont
impl From<ITextFont2> for ITextFont
§fn from(value: ITextFont2) -> Self
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl From<ITextFont2> for IUnknown
impl From<ITextFont2> for IUnknown
§fn from(value: ITextFont2) -> Self
fn from(value: ITextFont2) -> Self
Converts to this type from the input type.
§impl Interface for ITextFont2
impl Interface for ITextFont2
§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 more§impl PartialEq for ITextFont2
impl PartialEq for ITextFont2
§fn eq(&self, other: &ITextFont2) -> bool
fn eq(&self, other: &ITextFont2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITextFont2
impl StructuralPartialEq for ITextFont2
Auto Trait Implementations§
impl RefUnwindSafe for ITextFont2
impl !Send for ITextFont2
impl !Sync for ITextFont2
impl Unpin for ITextFont2
impl UnwindSafe for ITextFont2
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