Partager via


IBlogPictureExtensibility.PublishPicture Method

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

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub PublishPicture ( _
    Account As String, _
    ParentWindow As Integer, _
    Document As Object, _
    Image As Object, _
    <OutAttribute> ByRef PictureURI As String, _
    ImageType As Integer _
)
'Usage
Dim instance As IBlogPictureExtensibility
Dim Account As String
Dim ParentWindow As Integer
Dim Document As Object
Dim Image As Object
Dim PictureURI As String
Dim ImageType As Integer

instance.PublishPicture(Account, ParentWindow, _
    Document, Image, PictureURI, ImageType)
void PublishPicture(
    string Account,
    int ParentWindow,
    Object Document,
    Object Image,
    out string PictureURI,
    int ImageType
)

Parameters

  • Account
    Type: System.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
    Type: System.Int32

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

  • Image
    Type: System.Object

    Represents the name of the image file.

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

Reference

IBlogPictureExtensibility Interface

IBlogPictureExtensibility Members

Microsoft.Office.Core Namespace