goZoom in faster

Is there a way to make the call to goZoom zoom in twice as fast?

onclick=“goZoom(‘in’,‘MyView’)”

It might be easiest to customize the RaisePostBackEvent method:
public class CustomView : GoView {
public CustomView() : base() {}
public CustomView(GoDocument doc) : base(doc) {}
public override void RaisePostBackEvent(String evtargs) {
if (!this.Enabled) return;
// parse the evtargs parameters
Hashtable table = GetPostBackEventParams(evtargs);
String zoom = (String)table[“zoom”];
if (zoom != null) {
if (String.Compare(zoom, “in”, true, ci) == 0) {
this.DocScale /= 0.9f;
} else if (String.Compare(zoom, “out”, true, ci) == 0) {
this.DocScale *= 0.9f;
} else if (String.Compare(zoom, “fit”, true, ci) == 0) {
RescaleToFit();
} else {
float s = SafeParseF(zoom, 1.0f);
this.DocScale = s;
}
} else {
base.RaisePostBackEvent(evtargs);
}
}
private float SafeParseF(String s, float dflt) {
if (s == null || s.Length == 0)
return dflt;
try {
return Single.Parse(s, NumberFormatInfo.InvariantInfo);
} catch (FormatException) {
return dflt;
}
}
private Hashtable GetPostBackEventParams(String evtargs) {
String[] split = evtargs.Split(’&’);
Hashtable table = new Hashtable();
for (int i = 0; i < split.Length; i++) {
String s = split[i];
String p;
String v;
int idx = s.IndexOf(’=’);
if (idx < 0) {
p = s;
v = “”;
} else {
p = s.Substring(0, idx);
v = s.Substring(idx+1);
}
table[p] = v;
}
return table;
}
}

This code implements the standard behavior for the “zoom” command–you can modify the code for your own purposes, for example by changing the “0.9f” constant.
Caution: I haven’t even tried compiling this code–I just typed it in.