Edytuj

Udostępnij za pośrednictwem


IBlogPictureExtensibility.PublishPicture Method

Definition

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

public:
 void PublishPicture(System::String ^ Account, int ParentWindow, System::Object ^ Document, System::Object ^ Image, [Runtime::InteropServices::Out] System::String ^ % PictureURI, int ImageType);
public void PublishPicture (string Account, int ParentWindow, object Document, object Image, out string PictureURI, int ImageType);
abstract member PublishPicture : string * int * obj * obj * string * int -> unit
Public Sub PublishPicture (Account As String, ParentWindow As Integer, Document As Object, Image As Object, ByRef PictureURI As String, ImageType As Integer)

Parameters

Account
String

Represents the GUID of the account registry key. Blog account settings are stored in the registry at \HKCU\Software\Microsoft\Office\Common\Blog\Account.

ParentWindow
Int32

Contains the HWND for the window Microsoft Office Word is calling from.

Document
Object

The current document.

Image
Object

Represents the name of the image file.

PictureURI
String

The URI of the picture.

ImageType
Int32

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.

Applies to