protected override Dictionary <string, string> GetParameters(string applicationKey, string signature, string callBackURL, string dataName, string dataValue) { Dictionary <string, string> parameters = CreateParameters(applicationKey, signature, callBackURL, dataName, dataValue); parameters.Add("width", OutputWidth.ToString()); parameters.Add("height", OutputHeight.ToString()); parameters.Add("format", Format.ToString()); parameters.Add("bwidth", BrowserWidth.ToString()); parameters.Add("customwatermarkid", CustomWaterMarkId); parameters.Add("bheight", BrowserHeight.ToString()); parameters.Add("delay", Delay.ToString()); parameters.Add("target", TargetElement); parameters.Add("hide", HideElement); parameters.Add("waitfor", WaitForElement); parameters.Add("requestmobileversion", Convert.ToInt32(RequestAs).ToString()); parameters.Add("quality", Quality.ToString()); parameters.Add("transparent", Convert.ToInt32(Transparent).ToString()); parameters.Add("noads", Convert.ToInt32(NoAds).ToString()); parameters.Add("post", post); parameters.Add("address", Address); parameters.Add("nonotify", Convert.ToInt32(NoCookieNotifications).ToString()); parameters.Add("hd", Convert.ToInt32(HD).ToString()); return(parameters); }
public void WriteXml(XmlWriter w) { w.WriteElementString("ThresholdHeight", ThresholdHeight.ToString()); w.WriteElementString("ConsolidationHeight", ConsolidationHeight.ToString()); w.WriteElementString("OutputHeight", OutputHeight.ToString()); w.WriteElementString("Waterfall", Waterfall ? "true" : "false"); w.WriteElementString("WaterfallFlushHeight", WaterfallFlushHeight.ToString()); }
protected override Dictionary <string, string> GetParameters(string applicationKey, string signature, string callBackURL, string dataName, string dataValue) { Dictionary <string, string> parameters = CreateParameters(applicationKey, signature, callBackURL, dataName, dataValue); parameters.Add("width", OutputWidth.ToString()); parameters.Add("height", OutputHeight.ToString()); parameters.Add("format", Format.ToString()); parameters.Add("bwidth", BrowserWidth.ToString()); parameters.Add("customwatermarkid", CustomWaterMarkId); parameters.Add("bheight", BrowserHeight.ToString()); parameters.Add("delay", Delay.ToString()); parameters.Add("target", TargetElement); parameters.Add("requestmobileversion", Convert.ToInt32(RequestAs).ToString()); parameters.Add("quality", Quality.ToString()); return(parameters); }