Table of contents
TOC
Collapse the table of content
Expand the table of content

IBlogPictureExtensibility.PublishPicture Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Used to post a picture object to its final destination in a blog.

Syntax

expression. PublishPicture( Account, ParentWindow, Document, userName, Password, Image, PictureURI )

expression An expression that returns a IBlogPictureExtensibility object.

Parameters

NameRequired/OptionalData TypeDescription
AccountRequiredStringRepresents the GUID of the account registry key. Blog account settings are stored in the registry at \HKCU\Software\Microsoft\Office\Common\Blog\Account.
ParentWindowRequiredLongContains the HWND for the window Microsoft Word is calling from.
DocumentRequiredObjectThe current document.
userNameRequiredStringRepresents the username stored in the registry account settings.
PasswordRequiredStringRepresents user's password stored in the registry account settings.
ImageRequiredUnknownRepresents the name of the image file.
PictureURIRequiredStringThe URI of the picture.

Remarks

This method is called during xHTML generation and hands off a .PNG representation of the picture. The location where it was published is then returned which is then added to an IMG tag in the xHTML output.

See also

Concepts

IBlogPictureExtensibility Object

Other resources

IBlogPictureExtensibility Object Members

© 2018 Microsoft