var DynamicPictures=function() {
DynamicPictures.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DynamicPictures.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DynamicPictures._staticInstance.get_path();},
GetInitialTextImageSize:function(_fontName,_fontSize,_text,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,_designTool,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInitialTextImageSize',true,{_fontName:_fontName,_fontSize:_fontSize,_text:_text,_ByReiID:_ByReiID,_PosX:_PosX,_PosY:_PosY,_layerOrder:_layerOrder,_ProductSide:_ProductSide,_designSessionID:_designSessionID,_designTool:_designTool},succeededCallback,failedCallback,userContext); },
DeleteImageElement:function(_myGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteImageElement',true,{_myGUID:_myGUID},succeededCallback,failedCallback,userContext); },
UpdateText:function(_myGUID,_PosX,_PosY,_LayerOrder,_Color,_Text,_FontSize,_FontName,_Width,_Height,_TextBold,_TextItalic,_TextUnderline,_TextStrike,_TextOutline,_OutlineColor,_TextRotate,_TextWordArt,_TextWordArtGradient,_TextWordArtGradientColor,_DropShadow,_GlassTable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateText',true,{_myGUID:_myGUID,_PosX:_PosX,_PosY:_PosY,_LayerOrder:_LayerOrder,_Color:_Color,_Text:_Text,_FontSize:_FontSize,_FontName:_FontName,_Width:_Width,_Height:_Height,_TextBold:_TextBold,_TextItalic:_TextItalic,_TextUnderline:_TextUnderline,_TextStrike:_TextStrike,_TextOutline:_TextOutline,_OutlineColor:_OutlineColor,_TextRotate:_TextRotate,_TextWordArt:_TextWordArt,_TextWordArtGradient:_TextWordArtGradient,_TextWordArtGradientColor:_TextWordArtGradientColor,_DropShadow:_DropShadow,_GlassTable:_GlassTable},succeededCallback,failedCallback,userContext); },
UpdateUpload:function(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateUpload',true,{_myGUID:_myGUID,_PosX:_PosX,_PosY:_PosY,_LayerOrder:_LayerOrder,_Width:_Width,_Height:_Height,_ImageDS:_ImageDS,_ImageGT:_ImageGT,_ImagePS:_ImagePS,_ImageGlow:_ImageGlow,_ImageGlowColor:_ImageGlowColor,_ImageRC:_ImageRC,_ImageFH:_ImageFH,_ImageFV:_ImageFV,_ImageRotate:_ImageRotate,_ImageFade:_ImageFade,_ImageFeather:_ImageFeather,_ImageGrayScale:_ImageGrayScale,_ImageNegative:_ImageNegative},succeededCallback,failedCallback,userContext); },
UpdateClipart:function(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,_NewColor,_OldColor,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateClipart',true,{_myGUID:_myGUID,_PosX:_PosX,_PosY:_PosY,_LayerOrder:_LayerOrder,_Width:_Width,_Height:_Height,_ImageDS:_ImageDS,_ImageGT:_ImageGT,_ImagePS:_ImagePS,_ImageGlow:_ImageGlow,_ImageGlowColor:_ImageGlowColor,_ImageRC:_ImageRC,_ImageFH:_ImageFH,_ImageFV:_ImageFV,_ImageRotate:_ImageRotate,_ImageFade:_ImageFade,_ImageFeather:_ImageFeather,_ImageGrayScale:_ImageGrayScale,_ImageNegative:_ImageNegative,_NewColor:_NewColor,_OldColor:_OldColor},succeededCallback,failedCallback,userContext); },
SetInitialCAImage:function(_CaURL,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetInitialCAImage',true,{_CaURL:_CaURL,_DesignTool:_DesignTool,_ByReiID:_ByReiID,_PosX:_PosX,_PosY:_PosY,_layerOrder:_layerOrder,_ProductSide:_ProductSide,_designSessionID:_designSessionID},succeededCallback,failedCallback,userContext); },
GetInitialULImageSize:function(_Width,_Height,_ImageGUID,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInitialULImageSize',true,{_Width:_Width,_Height:_Height,_ImageGUID:_ImageGUID,_DesignTool:_DesignTool,_ByReiID:_ByReiID,_PosX:_PosX,_PosY:_PosY,_layerOrder:_layerOrder,_ProductSide:_ProductSide,_designSessionID:_designSessionID},succeededCallback,failedCallback,userContext); }}
DynamicPictures.registerClass('DynamicPictures',Sys.Net.WebServiceProxy);
DynamicPictures._staticInstance = new DynamicPictures();
DynamicPictures.set_path = function(value) { DynamicPictures._staticInstance.set_path(value); }
DynamicPictures.get_path = function() { return DynamicPictures._staticInstance.get_path(); }
DynamicPictures.set_timeout = function(value) { DynamicPictures._staticInstance.set_timeout(value); }
DynamicPictures.get_timeout = function() { return DynamicPictures._staticInstance.get_timeout(); }
DynamicPictures.set_defaultUserContext = function(value) { DynamicPictures._staticInstance.set_defaultUserContext(value); }
DynamicPictures.get_defaultUserContext = function() { return DynamicPictures._staticInstance.get_defaultUserContext(); }
DynamicPictures.set_defaultSucceededCallback = function(value) { DynamicPictures._staticInstance.set_defaultSucceededCallback(value); }
DynamicPictures.get_defaultSucceededCallback = function() { return DynamicPictures._staticInstance.get_defaultSucceededCallback(); }
DynamicPictures.set_defaultFailedCallback = function(value) { DynamicPictures._staticInstance.set_defaultFailedCallback(value); }
DynamicPictures.get_defaultFailedCallback = function() { return DynamicPictures._staticInstance.get_defaultFailedCallback(); }
DynamicPictures.set_path("/BVModules/ProductTemplates/CPDesignHeadwear/DynamicPictures.asmx");
DynamicPictures.GetInitialTextImageSize= function(_fontName,_fontSize,_text,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,_designTool,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.GetInitialTextImageSize(_fontName,_fontSize,_text,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,_designTool,onSuccess,onFailed,userContext); }
DynamicPictures.DeleteImageElement= function(_myGUID,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.DeleteImageElement(_myGUID,onSuccess,onFailed,userContext); }
DynamicPictures.UpdateText= function(_myGUID,_PosX,_PosY,_LayerOrder,_Color,_Text,_FontSize,_FontName,_Width,_Height,_TextBold,_TextItalic,_TextUnderline,_TextStrike,_TextOutline,_OutlineColor,_TextRotate,_TextWordArt,_TextWordArtGradient,_TextWordArtGradientColor,_DropShadow,_GlassTable,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.UpdateText(_myGUID,_PosX,_PosY,_LayerOrder,_Color,_Text,_FontSize,_FontName,_Width,_Height,_TextBold,_TextItalic,_TextUnderline,_TextStrike,_TextOutline,_OutlineColor,_TextRotate,_TextWordArt,_TextWordArtGradient,_TextWordArtGradientColor,_DropShadow,_GlassTable,onSuccess,onFailed,userContext); }
DynamicPictures.UpdateUpload= function(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.UpdateUpload(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,onSuccess,onFailed,userContext); }
DynamicPictures.UpdateClipart= function(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,_NewColor,_OldColor,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.UpdateClipart(_myGUID,_PosX,_PosY,_LayerOrder,_Width,_Height,_ImageDS,_ImageGT,_ImagePS,_ImageGlow,_ImageGlowColor,_ImageRC,_ImageFH,_ImageFV,_ImageRotate,_ImageFade,_ImageFeather,_ImageGrayScale,_ImageNegative,_NewColor,_OldColor,onSuccess,onFailed,userContext); }
DynamicPictures.SetInitialCAImage= function(_CaURL,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.SetInitialCAImage(_CaURL,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,onSuccess,onFailed,userContext); }
DynamicPictures.GetInitialULImageSize= function(_Width,_Height,_ImageGUID,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,onSuccess,onFailed,userContext) {DynamicPictures._staticInstance.GetInitialULImageSize(_Width,_Height,_ImageGUID,_DesignTool,_ByReiID,_PosX,_PosY,_layerOrder,_ProductSide,_designSessionID,onSuccess,onFailed,userContext); }
