setrking.blogg.se

Ipicture picturechanged
Ipicture picturechanged













ipicture picturechanged

The Windows handle of the palette used by the picture. This method works in conjunction with IPicture::get_CurDC.Īssigns a GDI palette to the picture contained in the picture object.Įach property in the IPicture interface includes a get_PropertyName method if the property supports read access and a put_PropertyName method if the property supports write access. Selects a bitmap picture into a given device context, and returns the device context in which the picture was previously selected as well as the picture's GDI handle. Bitmaps use the BMP file format, metafiles the WMF format, and icons the ICO format. Saves the picture's data into a stream in the same format that it would save itself into a file. Renders (draws) a specified portion of the picture defined by the offset (xSrc,ySrc) of the source picture and the dimensions to copy (cxSrc,xySrc). Sets the value of the picture's KeepOriginalFormat property. This method only calls IPropertyNotifySink::OnChanged with DISPID_PICT_HANDLE for any connected sinks. Notifies the picture object that its picture resource has changed. Retrieves the current width of the picture in the picture object.

ipicture picturechanged

Retrieves the current type of the picture contained in the picture object. Retrieves the current value of the picture's KeepOriginalFormat property. Retrieves a copy of the palette currently used by the picture object. Retrieves the current height of the picture in the picture object. Retrieves the handle to the picture managed within this picture object to a specified location. This property is valid only for bitmap pictures. Retrieves the handle of the current device context. Retrieves the current set of the picture's bit attributes. The IPicture interface has these methods. IPicture also has these types of members: Methods The IPicture interface inherits from the IUnknown interface. The function OleLoadPicture simplifies the creation of a picture object based on stream contents. An object that uses a picture object internally would normally save and load the picture as part of the object's own persistence handling. The picture object also supports IPersistStream so that it can save and load itself from an instance of IStream. Because the picture object supports at least one outgoing interface, it also implements IConnectionPointContainer and its associated interfaces for this purpose.

ipicture picturechanged

The picture object also supports the outgoing interface IPropertyNotifySink, so a client can determine when picture properties change. A picture object is created with OleCreatePictureIndirect. Its primary interfaces are IPicture and IPictureDisp, the latter being derived from IDispatch to provide access to the picture's properties through Automation. As with the standard font object, the system provides a standard implementation of the picture object. Picture objects provide a language-neutral abstraction for bitmaps, icons, and metafiles. Throws IOException Converts this IPicture to a Java ImageManages a picture object and its properties. Parameters: hdc - The hdc (A COM typedef) (in) Parameters: pstm - A COM void* (in) fSaveMemCopy - The fSaveMemCopy (in) pcbSize - The pcbSize (out: use single element array) Void setKeepOriginalFormat(boolean pfkeep)ĪutomationException setKeepOriginalFormat Parameters: hdcIn - The hdcIn (in) phdcOut - The phdcOut (out: use single element array) phbmpOut - The phbmpOut (A COM typedef) (out: use single element array) Parameters: phpal - The phpal (A COM typedef) (in) Parameters: hdc - The hdc (in) x - The x (in) y - The y (in) cx - The cx (in) cy - The cy (in) xSrc - The xSrc (A COM typedef) (in) ySrc - The ySrc (A COM typedef) (in) cxSrc - The cxSrc (A COM typedef) (in) cySrc - The cySrc (A COM typedef) (in) prcWBounds - A COM void* (in) Throws: IOException - If there are interop problems.ĪutomationException - If the ArcObject component throws an exception. Public interface IPicture extends Serializable Interface IPicture All Superinterfaces: Serializable All Known Implementing Classes: IPictureProxy, StdPicture SUMMARY: NESTED | FIELD | CONSTR | METHOD















Ipicture picturechanged