The following table lists .NET special effects functions and provides cross-references to their COM counterparts:
.Net Syntax | COM Interop Syntax | Related Properties, Events |
void GradientFillRectangle(IntPtr hdc, Rectangle destRect, |
void ISpecialEffectsProcessor.GradientFillRectangle(Int32 hdc, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsGradientStyle gradientStyle, LTDInterop.RasterColor startColor, LTDInterop.RasterColor endColor, Int32 steps) | |
void GradientPatternFillRectangle(IntPtr hdc, Rectangle destRect, |
void ISpecialEffectsProcessor.GradientPatternFillRectangle(Int32 hdc, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsPatternStyle patternStyle, LTDInterop.RasterColor backColor, LTDInterop.RasterColor foreColor) | |
void Draw3dText(IntPtr hdc, string text, Rectangle destRect, |
void ISpecialEffectsProcessor.Draw3dText(Int32 hdc, String text, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsTextStyle textStyle, LTDSpecialEffectsInterop.SpecialEffectsTextAlignmentFlags textAlignment, Int32 xDepth, Int32 yDepth, LTDInterop.RasterColor textColor, LTDInterop.RasterColor shadowColor, LTDInterop.RasterColor hiliteColor, Int32 textHfont, Int32 foreImageHdc) | |
void Draw3dText(Graphics g, string text, Rectangle destRect, |
void ISpecialEffectsProcessor.Draw3dText(Int32 hdc, String text, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsTextStyle textStyle, LTDSpecialEffectsInterop.SpecialEffectsTextAlignmentFlags textAlignment, Int32 xDepth, Int32 yDepth, LTDInterop.RasterColor textColor, LTDInterop.RasterColor shadowColor, LTDInterop.RasterColor hiliteColor, Font textFont, Image foreImage) | |
void DrawRotated3dText(IntPtr hdc, string text, Rectangle destRect, int angle, |
void ISpecialEffectsProcessor.DrawRotated3dText(Int32 hdc, String text, LTDInterop.Rectangle destRect, Int32 angle, LTDSpecialEffectsInterop.SpecialEffectsTextStyle textStyle, LTDSpecialEffectsInterop.SpecialEffectsTextAlignmentFlags textAlignment, Int32 xDepth, Int32 yDepth, LTDInterop.RasterColor textColor, LTDInterop.RasterColor shadowColor, LTDInterop.RasterColor hiliteColor, Int32 textHfont, Int32 foreImageHdc) | |
void DrawRotated3dText(Graphics g, string text, Rectangle destRect, int angle, |
void ISpecialEffectsProcessor.DrawRotated3dText(Int32 hdc, String text, LTDInterop.Rectangle destRect, Int32 angle, LTDSpecialEffectsInterop.SpecialEffectsTextStyle textStyle, LTDSpecialEffectsInterop.SpecialEffectsTextAlignmentFlags textAlignment, Int32 xDepth, Int32 yDepth, LTDInterop.RasterColor textColor, LTDInterop.RasterColor shadowColor, LTDInterop.RasterColor hiliteColor, Font textFont, Image foreImage) | |
void Draw3dShape(IntPtr hdc, |
void ISpecialEffectsProcessor.Draw3dShape(Int32 hdc, LTDSpecialEffectsInterop.SpecialEffectsShape shape, LTDInterop.Rectangle destRect, LTDInterop.RasterColor backColor, Int32 backImageHdc, LTDInterop.Rectangle backRect, LTDSpecialEffectsInterop.SpecialEffectsBackStyle backStyle, LTDInterop.RasterColor fillColor, LTDSpecialEffectsInterop.SpecialEffectsFillStyle fillStyle, LTDInterop.RasterColor borderColor, LTDSpecialEffectsInterop.SpecialEffectsBorderStyle borderStyle, Int32 borderWidth, LTDInterop.RasterColor innerHiliteColor, LTDInterop.RasterColor innerShadowColor, LTDSpecialEffectsInterop.SpecialEffectsInnerStyle innerStyle, Int32 innerWidth, LTDInterop.RasterColor outerHiliteColor, LTDInterop.RasterColor outerShadowColor, LTDSpecialEffectsInterop.SpecialEffectsOuterStyle outerStyle, Int32 outerWidth, Int32 shadowX, Int32 shadowY, LTDInterop.RasterColor shadowColor, Int32 shapeHrgn) | |
void Draw3dShape(Graphics g, |
void ISpecialEffectsProcessor.Draw3dShape(Int32 hdc, LTDSpecialEffectsInterop.SpecialEffectsShape shape, LTDInterop.Rectangle destRect, LTDInterop.RasterColor backColor, Image backImage, LTDInterop.Rectangle backRect, LTDSpecialEffectsInterop.SpecialEffectsBackStyle backStyle, LTDInterop.RasterColor fillColor, LTDSpecialEffectsInterop.SpecialEffectsFillStyle fillStyle, LTDInterop.RasterColor borderColor, LTDSpecialEffectsInterop.SpecialEffectsBorderStyle borderStyle, Int32 borderWidth, LTDInterop.RasterColor innerHiliteColor, LTDInterop.RasterColor innerShadowColor, LTDSpecialEffectsInterop.SpecialEffectsInnerStyle innerStyle, Int32 innerWidth, LTDInterop.RasterColor outerHiliteColor, LTDInterop.RasterColor outerShadowColor, LTDSpecialEffectsInterop.SpecialEffectsOuterStyle outerStyle, Int32 outerWidth, Int32 shadowX, Int32 shadowY, LTDInterop.RasterColor shadowColor, Int32 shapeRegion) | |
Rectangle DrawFrame(IntPtr hdc, Rectangle destRect, |
LTDInterop.Rectangle ISpecialEffectsProcessor.DrawFrame(Int32 hdc, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsFrameStyleFlags frameStyle, Int32 frameWidth, LTDInterop.RasterColor frameColor, Int32 innerWidth, LTDInterop.RasterColor innerColor1, LTDInterop.RasterColor innerColor2, Int32 outerWidth, LTDInterop.RasterColor outerColor1, LTDInterop.RasterColor outerColor2) | |
void DrawEffect(IntPtr srcHdc, Point srcPoint, IntPtr destHdc, Rectangle destRect, |
void ISpecialEffectsProcessor.DrawEffect(Int32 srcHdc, LTDInterop.Point srcPoint, Int32 destHdc, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsType effectType, Int32 grain, Int32 delay, Int32 speed, Int32 cycles, Int32 pass, Int32 maxPass, Boolean transparency, LTDInterop.RasterColor transparentColor, Int32 wandWidth, LTDInterop.RasterColor wandColor, Int32 rasterOperation) | |
void PaintTransition(IntPtr hdc, |
void ISpecialEffectsProcessor.PaintTransition(Int32 hdc, LTDSpecialEffectsInterop.SpecialEffectsTransitionStyle transitionStyle, LTDInterop.RasterColor backColor, LTDInterop.RasterColor foreColor, Int32 steps, LTDInterop.Rectangle destRect, LTDSpecialEffectsInterop.SpecialEffectsType effectType, Int32 grain, Int32 delay, Int32 speed, Int32 cycles, Int32 pass, Int32 maxPass, Boolean transparency, LTDInterop.RasterColor transparentColor, Int32 wandWidth, LTDInterop.RasterColor wandColor, Int32 rasterOperation) | |
void PaintImage(IntPtr hdc, RasterImage image, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, |
void ISpecialEffectsProcessor.PaintImage(Int32 hdc, LTDInterop.RasterImage image, LTDInterop.Rectangle src, LTDInterop.Rectangle srcClip, LTDInterop.Rectangle dest, LTDInterop.Rectangle destClip, LTDSpecialEffectsInterop.SpecialEffectsType effectType, Int32 grain, Int32 delay, Int32 speed, Int32 cycles, Int32 pass, Int32 maxPass, Boolean transparency, LTDInterop.RasterColor transparentColor, Int32 wandWidth, LTDInterop.RasterColor wandColor, LTDInterop.RasterPaintProperties paintProperties) | |
void PaintImageEffect(IntPtr hdc, RasterImage image, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties, |
void ISpecialEffectsProcessor.PaintImageEffect(Int32 hdc, LTDInterop.RasterImage image, LTDInterop.Rectangle src, LTDInterop.Rectangle srcClip, LTDInterop.Rectangle dest, LTDInterop.Rectangle destClip, LTDInterop.RasterPaintProperties paintProperties, LTDSpecialEffectsInterop.SpecialEffectsType effectType) | |
void PaintImageRegionEffect(IntPtr hdc, RasterImage image, Rectangle src, Rectangle srcClip, Rectangle dest, Rectangle destClip, RasterPaintProperties paintProperties, |
void ISpecialEffectsProcessor.PaintImageRegionEffect(Int32 hdc, LTDInterop.RasterImage image, LTDInterop.Rectangle src, LTDInterop.Rectangle srcClip, LTDInterop.Rectangle dest, LTDInterop.Rectangle destClip, LTDInterop.RasterPaintProperties paintProperties, LTDSpecialEffectsInterop.SpecialEffectsType effectType) |
The following topics provide comparisons between COM functions and their .NET counterparts: