pub struct IvgMetadata { /* private fields */ }Expand description
CorelDRAW 对象的后期绑定包装(元数据)。
所有属性与方法通过 IDispatch::Invoke 按名称调用,调用失败时一般返回 None 或 false。
Implementations§
Source§impl IvgMetadata
impl IvgMetadata
Sourcepub fn set_subject(&self, v: impl Into<String>) -> bool
pub fn set_subject(&self, v: impl Into<String>) -> bool
设置主题(Subject)。
读取作者(Author)。
设置作者(Author)。
读取最后一个作者(LastAuthor)。
设置最后一个作者(LastAuthor)。
Sourcepub fn set_keywords(&self, v: impl Into<String>) -> bool
pub fn set_keywords(&self, v: impl Into<String>) -> bool
设置关键词(Keywords)。
Sourcepub fn set_copyright(&self, v: impl Into<String>) -> bool
pub fn set_copyright(&self, v: impl Into<String>) -> bool
设置版权(Copyright)。
Sourcepub fn set_revision(&self, v: i32) -> bool
pub fn set_revision(&self, v: i32) -> bool
设置修订(Revision)。
Sourcepub fn set_doc_id(&self, v: impl Into<String>) -> bool
pub fn set_doc_id(&self, v: impl Into<String>) -> bool
设置文档标识(DocID)。
Sourcepub fn doc_language(&self) -> Option<i64>
pub fn doc_language(&self) -> Option<i64>
读取文档语言(DocLanguage)。
Sourcepub fn set_doc_language(&self, v: i32) -> bool
pub fn set_doc_language(&self, v: i32) -> bool
设置文档语言(DocLanguage)。
Sourcepub fn template_sided(&self) -> Option<String>
pub fn template_sided(&self) -> Option<String>
读取 COM 属性 TemplateSided。
Sourcepub fn set_template_sided(&self, v: impl Into<String>) -> bool
pub fn set_template_sided(&self, v: impl Into<String>) -> bool
设置 COM 属性 TemplateSided。
Sourcepub fn template_folds(&self) -> Option<String>
pub fn template_folds(&self) -> Option<String>
读取 COM 属性 TemplateFolds。
Sourcepub fn set_template_folds(&self, v: impl Into<String>) -> bool
pub fn set_template_folds(&self, v: impl Into<String>) -> bool
设置 COM 属性 TemplateFolds。
Sourcepub fn template_type(&self) -> Option<String>
pub fn template_type(&self) -> Option<String>
读取模板类型(TemplateType)。
Sourcepub fn set_template_type(&self, v: impl Into<String>) -> bool
pub fn set_template_type(&self, v: impl Into<String>) -> bool
设置模板类型(TemplateType)。
Sourcepub fn template_industry(&self) -> Option<String>
pub fn template_industry(&self) -> Option<String>
读取 COM 属性 TemplateIndustry。
Sourcepub fn set_template_industry(&self, v: impl Into<String>) -> bool
pub fn set_template_industry(&self, v: impl Into<String>) -> bool
设置 COM 属性 TemplateIndustry。
Sourcepub fn template_designer_notes(&self) -> Option<String>
pub fn template_designer_notes(&self) -> Option<String>
读取模板设计器备注(TemplateDesignerNotes)。
Sourcepub fn set_template_designer_notes(&self, v: impl Into<String>) -> bool
pub fn set_template_designer_notes(&self, v: impl Into<String>) -> bool
设置模板设计器备注(TemplateDesignerNotes)。
Sourcepub fn localizable_keywords(&self) -> Option<IvgLocalizableString>
pub fn localizable_keywords(&self) -> Option<IvgLocalizableString>
读取可本地化关键词(LocalizableKeywords)。
Sourcepub fn localizable_notes(&self) -> Option<IvgLocalizableString>
pub fn localizable_notes(&self) -> Option<IvgLocalizableString>
读取可本地化备注(LocalizableNotes)。
Sourcepub fn localizable_title(&self) -> Option<IvgLocalizableString>
pub fn localizable_title(&self) -> Option<IvgLocalizableString>
读取可本地化标题(LocalizableTitle)。
Sourcepub fn localizable_subject(&self) -> Option<IvgLocalizableString>
pub fn localizable_subject(&self) -> Option<IvgLocalizableString>
读取可本地化主题(LocalizableSubject)。
Sourcepub fn localizable_copyright(&self) -> Option<IvgLocalizableString>
pub fn localizable_copyright(&self) -> Option<IvgLocalizableString>
读取可本地化版权(LocalizableCopyright)。
Sourcepub fn localizable_template_designer_notes(
&self,
) -> Option<IvgLocalizableString>
pub fn localizable_template_designer_notes( &self, ) -> Option<IvgLocalizableString>
读取可本地化模板设计器备注(LocalizableTemplateDesignerNotes)。
Sourcepub fn category(&self) -> Option<IvgLocalizableString>
pub fn category(&self) -> Option<IvgLocalizableString>
读取类别(Category)。
Auto Trait Implementations§
impl !Send for IvgMetadata
impl !Sync for IvgMetadata
impl Freeze for IvgMetadata
impl RefUnwindSafe for IvgMetadata
impl Unpin for IvgMetadata
impl UnsafeUnpin for IvgMetadata
impl UnwindSafe for IvgMetadata
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